Skip to main content

Digital Signature

    Your digital signature is the proof that you signed something Your digital signature attests to the fact that your data was not tampered withIn asymmetric key system you ought to sign with the private key ๐Ÿ— or any symbol representing one

    Example:

    message: any expression from symbols to numerals to expressions to images to audio and video and so on.

    ๐Ÿซ†: symbol for digital signature


    ๐Ÿ—๐Ÿซ†message;
    Sign
    ๐Ÿ”["rsa"];
    
    message = "hi";
    
    signature = ๐Ÿ—ย ๐Ÿซ†message;
    
    save as signature1;
    
    Cloud Object Browser: signature1
    Verify Signature
    base = "/certs/free/signature1";
    
    s = "base/signature/value";
    
    key = "base/๐Ÿ”‘";
    
    message = "hi";
    
    q = ( โœ๐Ÿป s โšฒ message  ) ๐Ÿซ†key;
    
    show q;
    
    save as verify1;
    

    Output:

    "q" โŸถ True

    Cloud Object Browser: verify1
    FAIL: Verify Signature
    base = "/certs/free/signature1";
    
    s = "base/signature/value";
    
    key = "base/๐Ÿ”‘";
    
    message = "hi!";
    
    q = ( โœ๐Ÿป s โšฒ message  ) ๐Ÿซ†key;
    
    show q;
    
    save as verify1-2;
    

    Output:

    "q" โŸถ False

    Cloud Object Browser: verify1-2