| 2 | import { createHash, randomBytes } from 'crypto'; |
| 3 | |
| 4 | export class ApiKeysService { |
| 5 | private static decryptKey({ token }: { token: string }) { |
| 6 | const hash = createHash('sha256') |
| 7 | .update(`${token}${process.env.NEXTAUTH_SECRET}`) |
nothing calls this directly
no outgoing calls
no test coverage detected