Sha256: 899f334c5a7f473b6d908a44fd5e57ca7892544e78ff2f4f461ce6e1fa73686e
Contents?: true
Size: 595 Bytes
Versions: 2
Compression:
Stored size: 595 Bytes
Contents
#-- # # $RCSfile$ # # = Ruby-space definitions that completes C-space funcs for BN # # = Info # 'OpenSSL for Ruby 2' project # Copyright (C) 2002 Michal Rokos <m.rokos@sh.cvut.cz> # All rights reserved. # # = Licence # This program is licenced under the same licence as Ruby. # (See the file 'LICENCE'.) # # = Version # $Id$ # #++ module OpenSSL class BN include Comparable end # BN end # OpenSSL ## # Add double dispatch to Integer # class Integer # Casts an Integer as an OpenSSL::BN # # See `man bn` for more info. def to_bn OpenSSL::BN::new(self) end end # Integer
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysl-openssl-2.2.1 | lib/openssl/bn.rb |
rubysl-openssl-2.2.0 | lib/openssl/bn.rb |