UNPKG

crypto-utils-js

Version:

JavaScript library for encryption / decryption.

8 lines (5 loc) 165 B
import { base64 } from './base64'; let tstStr: string = "Simple String"; test('Base64', () => { expect(base64.decode(base64.encode(tstStr))).toBe(tstStr); });