An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Firebase scrypt

[![GoDoc](https://pkg.go.dev/badge/pkg.go.dev/github.com/Aoang/firebase-scrypt)](https://pkg.go.dev/pkg.go.dev/github.com/Aoang/firebase-scrypt)
[![Go Report Card](https://goreportcard.com/badge/github.com/Aoang/firebase-scrypt)](https://goreportcard.com/report/github.com/Aoang/firebase-scrypt)
[![Release](https://img.shields.io/github/v/release/Aoang/firebase-scrypt.svg)](https://github.com/Aoang/firebase-scrypt/releases)
[![MIT license](https://img.shields.io/badge/license-MIT-brightgreen.svg)](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==",
)
}
```