https://github.com/boolangery/d-cryptonote
d binding for cryptonote hash library
https://github.com/boolangery/d-cryptonote
cryptography cryptonote d dlang
Last synced: 10 months ago
JSON representation
d binding for cryptonote hash library
- Host: GitHub
- URL: https://github.com/boolangery/d-cryptonote
- Owner: boolangery
- Created: 2018-05-12T06:40:19.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-10T08:38:16.000Z (over 7 years ago)
- Last Synced: 2025-03-12T08:26:44.629Z (about 1 year ago)
- Topics: cryptography, cryptonote, d, dlang
- Language: C++
- Size: 3.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# d-cryptonote
[](https://code.dlang.org/packages/cryptonote)
`d-cryptonote` is a wrapper of cryptonote C++ library written by:
- The Monero Project
- Brian Gladman
- Oliver Weichhold
- others...
## build
Use the dub package manager.
The following dependencies are required to build the original cryptonote library:
- boost-devel
- stdc++
Available build configurations:
dub build --config=static // use a local static library
dub build --config=shared // use a shared library
dub test // run unit tests
## available functions
```d
import cryptonote;
static ubyte[] convertBlob(ubyte[] data, int size);
static ulong decodeAddress(string address);
static ulong decodeIntegratedAddress(string address);
static ubyte[] cryptonightHashSlow(ubyte[] data, int variant);
static ubyte[] cryptonightHashSlowLite(ubyte[] data);
static ubyte[] cryptonightHashFast(ubyte[] data);
```