mdsecure
Version:
ModderSecure SDK for secure data and backend encryption and decryption. Provides robust AES-256 GCM encryption, secure key management, and premium features for enhanced API security and data privacy.
12 lines (9 loc) • 314 B
JavaScript
import MaskedClient from "./src/index.js";
const client = new MaskedClient({
serverUrl: "http://localhost:3000",
aesKey: "zMt535w+nlIBRGAlN28WPG+s3k8snl+LKhtGt/A3b3A=" // serverdan olasan
});
(async () => {
await client.connectWebSocket();
await client.sendMaskedRequest("/real/posts");
})();