Skip to content

natalie-todd/password-encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Password Encoder

Password Encoder handles the hashing of given passwords.

Motivation

To be able to create hashed passwords and to get the hashed passwords and statistics about them.

Tech Used

  • Golang
  • Gorilla Mux
  • GoMock

Tests

To run tests, enter the following terminal command:

go test

API Reference

POST /hash
Creates a hash for a given form field password.

GET /hash/{id}
Returns a hash for a given id.

GET /stats
Returns total number of hashed passwords and the average request time to hash each.

POST /shutdown
Invokes graceful shutdown where server stops accepting requests and waits for all processes to finish before exiting.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages