Appearance
function setPSK(secret: string | Secret<string>): void;
Set the pre-shared key used to ensure that any data shared between nodes in the swarm is encrypted and namespaced.
secret
string
Secret
void