mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-11-24 06:25:50 +00:00
add: private notations to private values in generec class
This commit is contained in:
parent
51c6f97eae
commit
221cb45be8
@ -35,10 +35,10 @@ import { UnsupportedError } from '../../packet/packet';
|
||||
import util from '../../util';
|
||||
|
||||
class GenericS2K {
|
||||
algorithm: number;
|
||||
private algorithm: number;
|
||||
type: string;
|
||||
c: number;
|
||||
salt: Uint8Array | null;
|
||||
private c: number;
|
||||
private salt: Uint8Array | null;
|
||||
/**
|
||||
* @param {Object} [config] - Full configuration, defaults to openpgp.config
|
||||
*/
|
||||
@ -69,7 +69,7 @@ class GenericS2K {
|
||||
}
|
||||
}
|
||||
|
||||
getCount() {
|
||||
private getCount() {
|
||||
// Exponent bias, defined in RFC4880
|
||||
const expbias = 6;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user