Interface Protos.ScryptParametersOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getN()
      CPU/ memory cost parameter
      int getP()
      Parallelisation parameter
      int getR()
      Block size parameter
      com.google.protobuf.ByteString getSalt()
      Salt to use in generation of the wallet password (8 bytes)
      boolean hasN()
      CPU/ memory cost parameter
      boolean hasP()
      Parallelisation parameter
      boolean hasR()
      Block size parameter
      boolean hasSalt()
      Salt to use in generation of the wallet password (8 bytes)
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • 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.