MCPcopy Create free account
hub / github.com/FuAdmin/fu-admin / Hashing

Interface Hashing

web/src/utils/cipher.ts:18–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16// Define an interface for Hashing
17// 定义一个哈希算法的接口
18export interface Hashing {
19 hash(data: string): string;
20}
21
22export interface EncryptionParams {
23 key: string;

Callers

nothing calls this directly

Implementers 3

MD5Hashingweb/src/utils/cipher.ts
SHA256Hashingweb/src/utils/cipher.ts
SHA512Hashingweb/src/utils/cipher.ts

Calls

no outgoing calls

Tested by

no test coverage detected