Skip to content

kaystd/grasshopper-ts

Repository files navigation

grasshopper-ts

Grasshopper GOST 3412-2015 ECB implementation with TypeScript

Installation

yarn

yarn add grasshopper-ts

npm

npm install grasshopper-ts

Usage

import { decryptString, encryptString, generateKey } from 'grasshopper-ts'

const key = generateKey()
const message = 'Hello World!'

const encrypted = encryptString(message, key)
const decrypted = decryptString(encrypted, key)

About

Grasshopper GOST 3412-2015 ECB implementation with TypeScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published