Sha256: 6605aedae0d9817d4bdb6cbe07b2752d39cdbc1f52b748afd5929782abf3b84d
Contents?: true
Size: 380 Bytes
Versions: 1
Compression:
Stored size: 380 Bytes
Contents
# $Id: testpsw.rb 72 2006-04-24 21:58:14Z blackhedd $ require File.expand_path('../test_helper', __FILE__) 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubinius-net-ldap-0.11 | test/test_password.rb |