https://github.com/aoang/firebase-scrypt
This is the golang implementation of the modified Scrypt algorithm used by Firebase Auth.
https://github.com/aoang/firebase-scrypt
firebase-auth firebase-auth-scrypt firebase-scrypt scrypt
Last synced: 5 months ago
JSON representation
This is the golang implementation of the modified Scrypt algorithm used by Firebase Auth.
- Host: GitHub
- URL: https://github.com/aoang/firebase-scrypt
- Owner: Aoang
- License: mit
- Archived: true
- Created: 2020-07-29T01:48:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-22T04:27:06.000Z (almost 5 years ago)
- Last Synced: 2025-02-26T09:28:30.923Z (over 1 year ago)
- Topics: firebase-auth, firebase-auth-scrypt, firebase-scrypt, scrypt
- Language: Go
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Firebase scrypt
[](https://pkg.go.dev/pkg.go.dev/github.com/Aoang/firebase-scrypt)
[](https://goreportcard.com/report/github.com/Aoang/firebase-scrypt)
[](https://github.com/Aoang/firebase-scrypt/releases)
[](https://opensource.org/licenses/MIT)
This is the golang implementation of the modified Scrypt algorithm used by Firebase Auth.
### Sample
```golang
package main
import scrypt "github.com/Aoang/firebase-scrypt"
func main(){
app, _ :=scrypt.New(
"YE0dO4bwD4JnJafh6lZZfkp1MtKzuKAXQcDCJNJNyeCHairWHKENOkbh3dzwaCdizzOspwr/FITUVlnOAwPKyw==",
"Bw==",
8,
14,
)
app.FirebaseVerify(
"8x4WjoDbSxJZdR",
"sPtDhWcd1MfdAw==",
"xbSou7FOl6mChCyzpCPIQ7tku7nsQMTFtyOZSXXd7tjBa4NtimOx7v42Gv2SfzPQu1oxM2/k4SsbOu73wlKe1A==",
)
}
```