crypto-io-utils
Utility's used in crypto-modules.
; async { const result = await ; await ; const cipher = await ; const data = await ;};
API
backed[{options}]
options
encrypt
Type: Promise
Params: data, secret
;
decrypt
Type: Promise
Params: cipher, secret
;
read
Type: Promise
Params: path, as
Options:
as string, json & map
;
write
Type: Promise
Params: path, data
;
remove
Type: string
Default: ''
;
mkdir
Type: string
Default: ''
;
direxists
Type: string
Default: ''
;
exists
Type: string
Default: ''
;