Interface Protos.ScryptParametersOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Protos.ScryptParameters, Protos.ScryptParameters.Builder
Enclosing class:
Protos

public static interface Protos.ScryptParametersOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    CPU/ memory cost parameter
    int
    Parallelisation parameter
    int
    Block size parameter
    com.google.protobuf.ByteString
    Salt to use in generation of the wallet password (8 bytes)
    boolean
    CPU/ memory cost parameter
    boolean
    Parallelisation parameter
    boolean
    Block size parameter
    boolean
    Salt to use in generation of the wallet password (8 bytes)

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasSalt

      boolean hasSalt()
       Salt to use in generation of the wallet password (8 bytes)
       
      required bytes salt = 1;
      Returns:
      Whether the salt field is set.
    • getSalt

      com.google.protobuf.ByteString getSalt()
       Salt to use in generation of the wallet password (8 bytes)
       
      required bytes salt = 1;
      Returns:
      The salt.
    • hasN

      boolean hasN()
       CPU/ memory cost parameter
       
      optional int64 n = 2 [default = 16384];
      Returns:
      Whether the n field is set.
    • getN

      long getN()
       CPU/ memory cost parameter
       
      optional int64 n = 2 [default = 16384];
      Returns:
      The n.
    • hasR

      boolean hasR()
       Block size parameter
       
      optional int32 r = 3 [default = 8];
      Returns:
      Whether the r field is set.
    • getR

      int getR()
       Block size parameter
       
      optional int32 r = 3 [default = 8];
      Returns:
      The r.
    • hasP

      boolean hasP()
       Parallelisation parameter
       
      optional int32 p = 4 [default = 1];
      Returns:
      Whether the p field is set.
    • getP

      int getP()
       Parallelisation parameter
       
      optional int32 p = 4 [default = 1];
      Returns:
      The p.