iota-client 1.4.0

The official, general-purpose IOTA client library in Rust for interaction with the IOTA network (Tangle)
Documentation


### generate(): [SecretKey](#secretkey)

Generate a new secret key

### fromBytes(bytes): [SecretKey](#secretkey)

Create a new secret key from the bytes

| Parameter       | Type |  Description |
| --------------- | -------- | -------- |
| bytes | byte[] |  The bytes to create the key from |

### publicKey(): [PublicKey](#publickey)

Derive a public key from the secret key

### toBytes(): byte[]

Turn this Secret key into bytes

### sign(bytes): [Signature](#signature)

Sign the bytes using this key

| Parameter       | Type |  Description |
| --------------- | -------- | -------- |
| bytes | byte[] |  the Bytes to sign |