added HashInfo class and crypt/verify methods
Remove OBJECT validation by Params::Validate.
Merge pull request #2 from ritou/dev-hashinfo

Added HashInfo class and crypt/verify methods and removed OBJECT validation by Params::Validate