shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
stega
Type:Object
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.crypto
Expose two functions named “encrypt” and “decrypt” to process content using the stega algorithm. Delegates to the @vercel/stega package under the hood.
Example
import { stega } from '@blackbyte/sugar/crypto';
const encoded = stega.encrypt({ source: 'cms', field: 'title' });
const data = stega.decrypt(encoded);Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space