NAME
App::TinyID - Command line tool to encrypt and encrypt integer using Integer::Tiny
VERSION
version 0.1.1
DESCRIPTION
Encrypts and decrypts numeric using Integer::Tiny.
By default, the encryption key is: WEl0v3you
SYNOPIS
# Encrypt number (default key)
tinyid -e -t 82323723 # => EuEuE0ul0
# Decrypt encrypted value (default key)
tinyid -d -t EuEuE0ul0 # => 82323723
# Encrypt with non-default key
tinyid -k uywn -e -t 90012 # => yyynnwynu
# Decrypt with non-default key
tinyid -k uywn -d -t yyynnwynu # => 90012
OPTIONS
[-t|--text]
Despite the name, you can only use numerals/numerical when -e or --encrypt option is defined. When decrypting, you can also include numbers.
[-e|--encrypt]
This encrypts numerical value. Note that, [-t|--text] <TEXT/NUMERIC> must be defined too.
[-d|--encrypt]
This decrypts string and numerical value. Note that, [-t|--text] <TEXT/NUMERIC/ must be defined too.
[-k|--key]
Overrides default key value: WEl0v3you".
Note, that you cannot have more than one same character in the key.
# Wrong
tinyid -k aw99 -e -t 0823
# Right
tinyid -k tango29 -e -t 0823
SEE MORE
AUTHOR
faraco <skelic3@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by faraco.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.