/** * Pads buf with random data from index unpaddedLength up to closest multiple of blocksize. * https://sodium-friends.github.io/docs/docs/padding#sodium_pad */ export declare function sodium_pad(buf: Uint8Array, unpaddedLength: number, blocksize: number): any; /** * Calculates unpaddedLength from a padded buf with blocksize. * https://sodium-friends.github.io/docs/docs/padding#sodium_unpad */ export declare function sodium_unpad(buf: Uint8Array, unpaddedLength: number, blocksize: number): any; //# sourceMappingURL=padding.d.ts.map