Sha256: 64fe02935904cd93f7a401da052a97136d6c19ef63db446e4acd999d7a8e5a42
Contents?: true
Size: 353 Bytes
Versions: 29
Compression:
Stored size: 353 Bytes
Contents
# $Id: testpsw.rb 72 2006-04-24 21:58:14Z blackhedd $ require 'common' class TestPassword < Test::Unit::TestCase def test_psw assert_equal( "{MD5}xq8jwrcfibi0sZdZYNkSng==", Net::LDAP::Password.generate( :md5, "cashflow" )) assert_equal( "{SHA}YE4eGkN4BvwNN1f5R7CZz0kFn14=", Net::LDAP::Password.generate( :sha, "cashflow" )) end end
Version data entries
29 entries across 29 versions & 11 rubygems