Skip to content

A Go implementation of the Jetty Password Obfuscation Algorithm

License

Notifications You must be signed in to change notification settings

ecnepsnai/jettyobf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jettyobf

Go Report Card Godoc Releases LICENSE

jettyobf is a go implementation of the Jetty Password Obfuscation Algorithm.

Obfuscated passwords have no security benefits. Obfuscated passwords are easily reverted to their plain-text form. THIS IS NOT A REPLACEMENT FOR PROPER PASSWORD HASHING OR ENCRYPTION.

Usage

Obfuscate

input := "hunter2"
result := jettyobf.Obfuscate(input)
fmt.Println(result) // will print 'OBF:1jn91yte1uvc1z0f1uuu1yt81jk9'

Deobfuscate

input := "OBF:1jn91yte1uvc1z0f1uuu1yt81jk9"
result := jettyobf.Deobfuscate(input)
fmt.Println(result) // will print 'hunter2'

About

A Go implementation of the Jetty Password Obfuscation Algorithm

Topics

Resources

License

Stars

Watchers

Forks

Languages