.. js:autofunction:: createIdentity
.. js:autofunction:: identityFromPrivateKey
.. js:autofunction:: decryptPrivateKey
.. js:autofunction:: encryptPrivateKey
In Aergo, addresses are generated directly from public keys. Because of that, it is easy to convert between the two.
.. js:autofunction:: publicKeyFromAddress
.. js:autofunction:: addressFromPublicKey