// Alice: Create signature keypair and credential
const alice = await mls.generateIdentity();
const credential_alice = await mls.generateCredential("alice");
// Alice: Create a group
const group_alice = await mls.groupCreate(alice, credential_alice);
// Test: compare the generated group identifier to incorrect values
// Note: there is no deterministic test for this value as it is generated randomly
isnot(byteArrayToHexString(group_alice.groupId), "", "Group Identifier != ''");
// Test: the generated group epoch is of size 32
is(group_alice.groupId.length, 32, "Group Epoch should be of size 32");
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.