您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Silvestr Predko ba71ffc8cf Expand build packages for CI 3 年前
.github/workflows Expand build packages for CI 3 年前
.vscode Add initial source code 3 年前
common-api Copy existed crypto.rs to common-api crate 3 年前
js-client Add initial source code 3 年前
near-client Add view call to NearClient 3 年前
wasm-client Update vodozemac dependency 3 年前
.gitignore Add initial source code 3 年前
Cargo.toml Copy existed crypto.rs to common-api crate 3 年前
README.md Sequence diagram with algorithm 3 年前

README.md

client

sequenceDiagram
    participant Initiator
    participant Alice
    participant Bob

    Initiator->>Blockchain: create meeting with id
    Initiator-->>Internet: share meeting Id
    loop
        Initiator->>Blockchain: wait for pub. key for Alice and Bob
        activate Blockchain
        Blockchain--)Initiator: receive pub key [Alice, Bob]
        deactivate Blockchain
    end
    par
        Bob->>Internet: get meeting id
        activate Internet
        Internet--)Bob: receive meeting id
        deactivate Internet
    and
        Alice->>Internet: get meeting id
        activate Internet
        Internet--)Alice: receive meeting id
        deactivate Internet
    end
    par
        Bob->>Blockchain: put temp public key for Bob
        activate Blockchain
        Blockchain--)Bob: Initiator public key
        deactivate Blockchain
    and
        Alice->>Blockchain: put temp public key for Alice
        activate Blockchain
        Blockchain--)Alice: Initiator public key
        deactivate Blockchain
    end
    Initiator-->>RelayServer: Olm message(symetric key) by Bob pub key
    RelayServer-->>Bob: Olm message(symetric key) by Bob pub key
    Initiator-->>RelayServer: Olm message(symetric key) by Alice pub key
    RelayServer-->>Alice: Olm message(symetric key) by Alice pub key