fix: обновление доки
This commit is contained in:
@@ -76,13 +76,6 @@ public class PayloadStore {
|
||||
this(ttlMinutes, SharedIndex.disabled(), PayloadCipher.disabled());
|
||||
}
|
||||
|
||||
/** Конструктор для тестов с явным общим слоем и шифрованием. */
|
||||
public PayloadStore(int ttlMinutes, SharedIndex shared, PayloadCipher cipher) {
|
||||
this.ttlMillis = ttlMinutes * 60_000L;
|
||||
this.shared = shared;
|
||||
this.cipher = cipher;
|
||||
}
|
||||
|
||||
public void put(String system, String payloadId, String original, String masked) {
|
||||
long now = System.currentTimeMillis();
|
||||
String encrypted = cipher.encrypt(original);
|
||||
|
||||
Reference in New Issue
Block a user