Java Encryption/Decryption

Java does not always throw exception while decoding a text using different key than the one used for encoding it. Though the decoded text will be garbage. So dont rely on throwing exception if the key is incorrect.

Character.getType(character) returns a in value which stands for a category to which character belongs. esp. the value returned as 28 stands for OTHER_SYMBOLS and it is normally non-printable junk characters.

Comments

Popular posts from this blog

SQL

Analytics

HIVE