π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
import { generateInteractiveKeyAttributes as generate } from "./crypto";
import { RemoteKeyAttributes, type KeyAttributes } from "./user";
export const generateInteractiveKeyAttributes = async (
password: string,
keyAttributes: KeyAttributes,
masterKey: string,
): Promise<KeyAttributes> =>
RemoteKeyAttributes.parse(
await generate(password, keyAttributes, masterKey),
);