object

Type:Object
Status:stable
Since:1.0.0
Platform:jsnode
@blackbyte.sugar.shared.crypto

Expose two function named “encrypt” and “decrypt” that you can use to process your content using the object algorithm. The generated hash is a base65 one.

Example

import { object } from '@blackbyte/sugar/crypto';
object.encrypt({
     hello: 'world'
});