jseeqret - v1.0.4
    Preparing search index...

    Function pad_to_bucket

    • Pad a payload to the next multiple of bucket bytes.

      Parameters

      • payload: any

        the ciphertext bytes

      • Optionalbucket: number = DEFAULT_BUCKET

      Returns Buffer