Housekeeping
This commit is contained in:
parent
fcb9f37985
commit
611ab56b74
2 changed files with 3 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ Couldn't be simpler!
|
||||||
|
|
||||||
### Encryption (currently in **ALPHA**)
|
### Encryption (currently in **ALPHA**)
|
||||||
|
|
||||||
As of 1.3.0, Nippy also gives you **dead simple data encryption**. Add a single flag to your usual freeze/thaw calls like so:
|
As of 1.3.0, Nippy also gives you **dead simple data encryption**. Add a single option to your usual freeze/thaw calls like so:
|
||||||
|
|
||||||
```clojure
|
```clojure
|
||||||
(nippy/freeze-to-bytes nippy/stress-data :password [:salted "my-password"]) ; Encrypt
|
(nippy/freeze-to-bytes nippy/stress-data :password [:salted "my-password"]) ; Encrypt
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,8 @@
|
||||||
encryption/decryption speed and the difficulty of attacking any
|
encryption/decryption speed and the difficulty of attacking any
|
||||||
particular key.
|
particular key.
|
||||||
|
|
||||||
Slower than `aes128-cached`, and easier to attack any particular key."
|
Slower than `aes128-cached`, and easier to attack any particular key - but
|
||||||
|
keys are independent."
|
||||||
(AES128Encrypter. 5 nil))
|
(AES128Encrypter. 5 nil))
|
||||||
|
|
||||||
(def aes128-cached
|
(def aes128-cached
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue