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.2.1 test/test_password.rb
net-ldap-0.2 test/test_password.rb
scashin133-net-ldap-0.1.4 test/test_password.rb
scashin133-net-ldap-0.1.3 test/test_password.rb
scashin133-net-ldap-0.1.2 test/test_password.rb
my-ruby-net-ldap-0.5.0 test/test_password.rb
net-ldap-0.1.1 test/test_password.rb
net-ldap-0.1.0 test/test_password.rb
net-ldap-0.0.5 test/test_password.rb