mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-11-24 14:35:51 +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';
|
import util from '../../util';
|
||||||
|
|
||||||
class GenericS2K {
|
class GenericS2K {
|
||||||
algorithm: number;
|
private algorithm: number;
|
||||||
type: string;
|
type: string;
|
||||||
c: number;
|
private c: number;
|
||||||
salt: Uint8Array | null;
|
private salt: Uint8Array | null;
|
||||||
/**
|
/**
|
||||||
* @param {Object} [config] - Full configuration, defaults to openpgp.config
|
* @param {Object} [config] - Full configuration, defaults to openpgp.config
|
||||||
*/
|
*/
|
||||||
@ -69,7 +69,7 @@ class GenericS2K {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getCount() {
|
private getCount() {
|
||||||
// Exponent bias, defined in RFC4880
|
// Exponent bias, defined in RFC4880
|
||||||
const expbias = 6;
|
const expbias = 6;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user