add: private notations to private values in generec class

This commit is contained in:
Ayham Kteash 2024-01-10 11:10:05 +01:00
parent 51c6f97eae
commit 221cb45be8
No known key found for this signature in database
GPG Key ID: 830C24645F048DB3

View File

@ -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;