Daniel Lee
b1506a2b09
securejson: decrypt should not modify src
...
When decrypting a source securejson byte array, should not
modify the source and now passes back a new dest byte array.
2017-09-08 10:19:07 +02:00
Dan Cech
b489e93d94
Config Array Syntax ( #8204 )
...
* refactor util encryption library so it doesn't have to import log
* add util.SplitString to handle space and/or comma-separated config lines
* go fmt
2017-04-25 09:14:29 +02:00
Anthony Woods
c8c337cead
use PBKDF2 to esnure key is 23bytes.
2016-01-26 05:15:29 +08:00
Anthony Woods
092bb69c41
instead of padding with 0's, cycle through the secret.
2016-01-26 04:18:44 +08:00
Anthony Woods
ab3b586838
add encryption util functions
2016-01-23 03:15:39 +08:00