Sha256: 039e6286f762e80277a33888752e563240caac6deffa1007b8cf151526e3df83

Contents?: true

Size: 358 Bytes

Versions: 12

Compression:

Stored size: 358 Bytes

Contents

# $Id: testpsw.rb 72 2006-04-24 21:58:14Z blackhedd $

require_relative 'test_helper'

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

12 entries across 12 versions & 1 rubygems

Version Path
net-ldap-0.16.2 test/test_password.rb
net-ldap-0.16.1 test/test_password.rb
net-ldap-0.16.0 test/test_password.rb
net-ldap-0.15.0 test/test_password.rb
net-ldap-0.14.0 test/test_password.rb
net-ldap-0.13.0 test/test_password.rb
net-ldap-0.12.1 test/test_password.rb
net-ldap-0.12.0 test/test_password.rb
net-ldap-0.11 test/test_password.rb
net-ldap-0.10.1 test/test_password.rb
net-ldap-0.10.0 test/test_password.rb
net-ldap-0.9.0 test/test_password.rb