Hi, There are 2 padding-side issues in your OCRAimpl: * sessionInformation should be pad on the left * password should be pad on the left Also, OpenSSL::Digest::Digest is deprecated, and replaced by OpenSSL::Digest. I've made a pull request for this.