Skip to content

Commit 6f47952

Browse files
committed
feat(repo): init repo
1 parent b04299a commit 6f47952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# String-Cipher
22

3-
Simple set of crypto function for encrypting and decrypting UTF-8 strings. The module uses AES-GMC (128, 192 and 256) bases on Node crypto module. Solution used is based on this [gist](https://gist.github.com/AndiDittrich/4629e7db04819244e843.js). By using GMC encryption chiper text is authenticated as well. Base of this module are the make functions that generate desired encrypt and decrypt functions.
3+
Simple set of crypto function for encrypting and decrypting UTF-8 strings. The module uses AES-GMC (128, 192 and 256) bases on Node crypto module. Solution used is based on this [gist](https://gist.github.com/AndiDittrich/4629e7db04819244e843). By using GMC encryption chiper text is authenticated as well. Base of this module are the make functions that generate desired encrypt and decrypt functions.
44

55
Written in Typescript as an ES6 module, all functions are provided in Sync and Async versions. In order to imporve over all security scheme, user supplied `Password` and random `Salt` is used to drive a key using pbkdf2 (with default iterations of 1, for speed but this can be changed using options). The key length depends on the AES-GMC version (128/192/256 use 16/24/32 bit keys) other values are defaulted to values specified by [RFC 5288](https://tools.ietf.org/html/rfc5288)
66

0 commit comments

Comments
 (0)