Sha256: 3e1041bedd2f968ef0d0f33c47bed656e863cc819831a586134f2845b18cd3f0

Contents?: true

Size: 648 Bytes

Versions: 2

Compression:

Stored size: 648 Bytes

Contents

require 'paint'
def vprint(*args)
 puts args if $verbose
end

TASKS_HELP =
%Q{    encrypt                             Encrypt the message with the given key (AES).
    decrypt                             Decrypt the message with the given key (AES).
    hash                                Hash a given message with SHA256.

  #{Paint['Examples', '#95a5a6']}
    #{Paint['$ krypton encrypt "mymessage" "mykey"', '#2ecc71']} #{Paint['=> ckhJWXcyTE1leENLOWpBQzJWbElMdz09Cg==', '#95a5a6']}
    #{Paint['$ krypton hash "mymessage"', '#2ecc71']} => #{Paint['4B738DA7D58CEFFAC231EB949EF583CE9E5DC5BB9256C395E9B239009BD1A827', '#95a5a6']}
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
krypton-0.1.2 lib/core/text.rb
krypton-0.1.1 lib/core/text.rb