UNPKG

crypto-utils-js

Version:

JavaScript library for encryption / decryption.

8 lines (5 loc) 155 B
import { hex } from './hex'; let tstStr: string = "Hexadecimal String"; test('Hex', () => { expect(hex.decode(hex.encode(tstStr))).toBe(tstStr); });