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

Version Path
net-ldap-0.8.0 test/test_password.rb
dim-ruby-net-ldap-0.1.0 test/test_password.rb
dim-ruby-net-ldap-0.1.1 test/test_password.rb
net-ldap-0.7.0 test/test_password.rb
net-ldap-0.6.1 test/test_password.rb
net-ldap-0.6.0 test/test_password.rb
net-ldap-0.5.1 test/test_password.rb
datacom-net-ldap-0.5.0.datacom test/test_password.rb
socialcast-net-ldap-0.1.8 test/test_password.rb
socialcast-net-ldap-0.1.7 test/test_password.rb
adams-net-ldap-0.4.0 test/test_password.rb
obis-net-ldap-0.4.0 test/test_password.rb
net-ldap-1-0.4.0 test/test_password.rb
socialcast-net-ldap-0.1.6 test/test_password.rb
socialcast-net-ldap-0.1.5 test/test_password.rb
net-ldap-0.3.1 test/test_password.rb
net-ldap-0.3.0 test/test_password.rb
prathe_net-ldap-0.2.20110317223538 test/test_password.rb
prathe-net-ldap-0.2.20110317223538 test/test_password.rb
net-ldap-0.2.2 test/test_password.rb