• Breaking News

    Tuesday, December 18, 2018

    Cryptography How does signing come into play with public key encryption?

    Cryptography How does signing come into play with public key encryption?


    How does signing come into play with public key encryption?

    Posted: 17 Dec 2018 06:30 AM PST

    So, I'm kind of a crypto hobbiest... ish? idk but anyway, for NaCl's box encryption, I have some outstanding questions about how it works:

    In my app, I have some code, https://github.com/NullVoxPopuli/emberclear/blob/master/packages/frontend/src/utils/nacl/utils.ts

    where encrypting works like the following:

    ``` const ciphertext = sodium.crypto_box_easy(message, nonce, recipientPublicKey, senderPrivateKey);

    return concat(nonce, ciphertext); ```

    where crypto_box_easy is defined here: https://github.com/jedisct1/libsodium/blob/cfb0f94704841f943a5a11d9e335da409c55d58a/src/libsodium/crypto_box/crypto_box_easy.c#L52

    and I'm not really sure how to read anything, since all the variables are 1 or two letters. (I know what pk and sk are though). Only spent a minute or so on it.

    But anyway, know that NaCl's box encryption uses: - Curve25519 - key exchange / Diffie-Hellman - Salsa20 / ChaCha20 - symmetrical encryption - Poly1305 - verification - EdDSA - signatures

    So, my questions:

    • which of the above algorithms is responisble for:
      • key generation
      • crypto_box_easy
        • is there key exchange, verification and signing built in?

    Thanks!

    submitted by /u/DerNalia
    [link] [comments]

    Solution to the besquare crypto CTF challenge

    Posted: 17 Dec 2018 08:44 AM PST

    Encryption solution for dual boot shared drive with cloud storage?

    Posted: 17 Dec 2018 03:07 AM PST

    I already have a non-boot shared NTFS partition, which I can access fine in Windows and Ubuntu, and I use Insync to backup a directory on it to Google Drive. I would like the data on Google Drive to be encrypted, but seamlessly decrypted whenever I am logged in to either Windows or Ubuntu. I am also interested in encrypting the entire drive, though I appreciate this may be overkill, and a bad idea for some reason. Once configured, I would like to replicate this on my laptop, without encrypting the entire (boot) drive - for now.

    Is the following feasible, or can it be done better somehow?

    1. Encrypt drive with VeraCrypt, and to automatically decrypt whenever logged in to either OS
    2. Configure Insync to backup either the entire drive, or a top level directory of it
    3. Configure Cryptomator and point it either at the drive, the Insync directory, or a directory within. This should also automatically decrypt whenever logged in to either OS.
    submitted by /u/runswithascript
    [link] [comments]

    Crypto-pro server sugestion

    Posted: 17 Dec 2018 09:26 AM PST

    Hey my gentle and beatiful people. Could you guys give me some tips to an crypto-server wich the user will use sftp. Its have to be volume encrypted. Wath are the recomendations? Ext, zfs,brtfs? Lvm? It will run also a bavkup routine, wich makes backup routine script based thanks for the encryption, auths etc. So i came here for some ideas, for do this migration. I will use vmware esxi free edition. Dell R230 , has an raid controller and 2 5400rpm enterprise disks, 8 core processor and 8 gb ram.

    submitted by /u/uolficina
    [link] [comments]

    No comments:

    Post a Comment