Base64

The Base64 class provides methods to encode, decode, and validate base64 strings.

Importing the Base64 class

1import { Base64 } from "@payvo/sdk-cryptography";

Encode a string to Base64

1Base64.encode("Hello World");

Decode a Base64 string

1Base64.decode("SGVsbG8gV29ybGQ=");

Validate a Base64 string

1Base64.validate("SGVsbG8gV29ybGQ=");
Last updated 4 months ago
Edit Page
Share:
2022 © ARK.io | All Rights Reserved
An ARK.io Product