[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

한글 난독화 기능 #26

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

한글 난독화 기능 #26

wants to merge 11 commits into from

Conversation

joonas-yoon
Copy link
@joonas-yoon joonas-yoon commented Jul 10, 2020

안녕하세요. 이렇게 좋은 Hangul.js 라이브러리가 있는 줄 이제야 알았습니다.

'한국인만 읽을 수 있는 리뷰'로 잘 알려진 한글 난독화 기능을 추가했습니다.

원래의 문장은 훼손하지 않으며, 받침(종성)에서 자음을 가능한 한 많이 우겨넣어 읽기 힘들도록 변형합니다.

예제 페이지에서 확인하실 수 있습니다.

Updates

  • Hangul.obfuscation(text)
  • examples/ 아래 예제 페이지와 네비게이션 추가
  • test 코드 추가
  • 옵션으로 부분 적용 가능 (0: 적용 안함, 1: 자음만 난독화, 2: 모음만, 3: 모두 적용(기본값). e.g. Hangul.obfuscation(text, 1))
  • 겹받침을 구성하는 두개 모두 호환하기 (now: ㄹ→ㄻ, expect: ㅁ→ㄻ)

Test

$ npm test

> hangul-js@0.2.6 test C:\Users\joonas\Hangul.js
> grunt test

Running "jshint:files" (jshint) task
>> 2 files lint free.

Running "qunit:files" (qunit) task
Testing test/index.html .............OK
>> 13 tests completed with 0 failed, 0 skipped, and 0 todo.
>> 125 assertions (in 924ms), passed: 125, failed: 0

Done.

개발 방향과 맞지 않는다면 closed 하셔도 되겠습니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant