base 64 enocde/decode

require 'base64'
puts Base64.decode64("aG1hYw==").chomp => hmac
puts Base64.encode64("hmac").chomp =>
aG1hYw==

Comments

Popular posts from this blog

Install Cpanm module error : No such file or directory opening compressed index

How to increase Elasticsearch Shard recovery Speed

Getting started with Python Flask application with MVC structure