MCPcopy Create free account
hub / github.com/VadimNotJustDev/SignalClone / stringToUint8Array

Function stringToUint8Array

utils/crypto.js:57–58  ·  view source on GitHub ↗
(content)

Source from the content-addressed store, hash-verified

55};
56
57export const stringToUint8Array = (content) =>
58 Uint8Array.from(content.split(",").map((str) => parseInt(str)));
59
60export const getMySecretKey = async () => {
61 const keyString = await AsyncStorage.getItem(PRIVATE_KEY);

Callers 3

sendMessageToUserFunction · 0.90
decryptMessageFunction · 0.90
getMySecretKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected