Socket
Socket
Sign inDemoInstall

github.com/ecnepsnai/jettyobf

Package Overview
Dependencies
0
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/ecnepsnai/jettyobf

Package jettyobf is a go implementation of the Jetty Password Obfuscation algorithm https://www.eclipse.org/jetty/documentation/current/configuring-security-secure-passwords.html Note: obfuscated passwords have no security benifits. Obfuscated passwords are easily reverted to their plain-text form. THIS IS NOT A REPLACEMENT FOR PROPER PASSWORD HASHING OR ENCRYPTION.


Version published

Readme

Source

jettyobf

Go Report Card Godoc Releases LICENSE

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

Obfuscated passwords have security benifits. 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'

FAQs

Last updated on 13 May 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc