Sha256: 02d52db7d8dd4e6664f527f1c3f795321fecde7f0c89fdae2e50693c7a6fba4f

Contents?: true

Size: 168 Bytes

Versions: 3

Compression:

Stored size: 168 Bytes

Contents

require 'facet/string/rand_letter'
class String
  # Common Unix cryptography method.
  def unix_crypt
    self.crypt(String.rand_letter + String.rand_letter)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facets-0.7.0 lib/facet/string/unix_crypt.rb
facets-0.7.1 lib/facet/string/unix_crypt.rb
facets-0.7.2 lib/facet/string/unix_crypt.rb