petereigenschink/steganography.js
소개
JavaScript와 이 라이브러리로 비밀 메시지를 숨기세요.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalsteganography.js
steganography.js is a JavaScript library used to encode secret messages inside images and to decode them again.
How does it work
Behind the scenes steganography.js uses an algorithm to convert the given message into appropriate binary data which then will be hidden in the alpha channel of the given cover image. A HTML5 canvas element is then used to process the data and the image. To decode a message from a given image, a similiar algorithm is applied on the imagedata.
How to use it
The use of the library is very simple. You just have to add the .js-file to your website and by now you can make use of the global object steganography or short steg and the two provided functions encode and decode.
- encode takes a message as String and a image as Image, HTMLImageElement or String representing the data-URL of the cover image. Returns the data-URL of the image with the encoded message inside.
- decode takes a image as Image, HTMLImageElement or String representing the data-URL of the image and returns the message which was found in the image.
Contact me
If you have any questions, contact me.
My website www.peter-eigenschink.at
My Twitter account @eigenschinkpeter
관련 프로젝트 살펴보기
불러오는 중…