This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const crypto = require("crypto"); | |
| const crashHash = ""; | |
| // Hash from bitcoin block #610546. Public seed event: https://twitter.com/Roobet/status/1211800855223123968 | |
| const salt = "0000000000000000000fa3b65e43e4240d71762a5bf397d5304b2596d116859c"; | |
| function saltHash(hash) { | |
| return crypto.createHmac("sha256", hash).update(salt).digest("hex"); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "crypto/ecdsa" | |
| "crypto/rand" | |
| "crypto/sha256" | |
| "encoding/hex" | |
| "fmt" | |
| "math/big" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Copyright 2012 The Gorilla Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style | |
| // license that can be found in the LICENSE file. | |
| package sessions | |
| import ( | |
| "context" | |
| "encoding/gob" | |
| "fmt" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ru: | |
| activerecord: | |
| attributes: | |
| user: | |
| password: 'Пароль' | |
| clearance: | |
| models: | |
| clearance_mailer: | |
| change_password: Выбор нового пароля | |
| clearance_mailer: |