Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
Niami

Use public/private keys for data encryption?

Question

5 answers to this question

Recommended Posts

  • 0

@Niami Here is a link https://ocdoc.cil.li/component:data

Basically it works like this: user A and B both generate a key pair. Then they exchange their public keys. Then the actual AES encryption key is calculated from own private and other users public key these calculations end up in the same result. In other words: A public + B private = B public + A private. Thus allowing encryption and decryption. 

This is explained in the docs, but poorly.

I may have some examples,I might share if you're interested. 

Link to post
Share on other sites
  • 0

I'm a wee bit late to the show, but for future reference for anyone googling this issue, If you take the combined key you get from the Diffie-Hellman function and run it through the md5 function it comes out as a 128 bit binary. it is really odd that the key generator makes keys that are too long for the only real encryption program that came with it. There's also a set of libraries and programs available on open programs, called lua-lockbox, that have a whole heap of different encoding and encrypting files and functions, though i haven't tried them myself, so i'm unsure if they still work

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.