UNPKG

cryptex

Version:

Secure secret storage and cryptographic key retrieval for Node.js

18 lines (13 loc) 226 B
/* * Copyright (c) 2017-2019 Tom Shawver */ 'use strict' class Plaintext { decrypt(key, secret) { return secret.toString() } encrypt(key, secret) { return secret.toString() } } module.exports = Plaintext