(password string)
| 66 | } |
| 67 | |
| 68 | func errAccessDenied(password string) error { |
| 69 | if password == "" { |
| 70 | return ErrAccessDeniedNoPassword |
| 71 | } |
| 72 | |
| 73 | return ErrAccessDenied |
| 74 | } |
| 75 | |
| 76 | func scrambleValidation(cached, nonce, scramble []byte) bool { |
| 77 | // SHA256(SHA256(SHA256(STORED_PASSWORD)), NONCE) |
no outgoing calls
no test coverage detected