Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 355 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 355 Bytes

Some scripts I write for fun.

Usage

main.rb

chmod +x main.rb;
./main.rb;

key_derivation.rb

CLI

chmod +X key_derivation.rb;
./key_derivation.rb password key_size

The key will be base64-encoded and stored in a JSON.

Code

require "./key_derivation.rb"
dk = KeyDerivation.new
key = dk.kdf("password", 256)