A Ruby stdlib implementation with no dependencies; created for use with Sicuro.