From: "Henri S." Date: 2012-03-30T00:42:19+09:00 Subject: ECDSA encryption with OpenSSL Trying to do a simple ECDSA encryption using openSSL library with the code below: ====beginning of code require 'openssl' data = "This is a message to sign" key = OpenSSL::PKey::EC.new("secp160r1") key.generate_key sig = key.dsa_sign_asn1(data) puts "signature verification result = " + key.dsa_verify_asn1(data, sig) ===== End of code if fails with the following message: sample.rb:7: invalid multibyte char (US-ASCII) sample.rb:7: invalid multibyte char (US-ASCII) rdoc does not give information about usage Can anyone help ? Henry_s -- Posted via http://www.ruby-forum.com/.