Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Latest commit

 

History

History
21 lines (14 loc) · 519 Bytes

aes.md

File metadata and controls

21 lines (14 loc) · 519 Bytes

AES

The AES class provides methods to extract the numerical value out of any currency representation by normalizing the input and removing any locale specific rules like symbols and use of commas.

Importing the AES class

import { AES } from "@payvo/cryptography";

Encrypt a message with the given password

AES.encrypt("message", "password");

Decrypt a message with the given password

AES.decrypt(AES.encrypt("message", "password"), "password");