From 93526ac087c009faf6cf9b896d517ae781a317bf Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 4 Nov 2003 05:58:01 +0000 Subject: We cannot use SURBs yet, only generate them --- src/org/noreply/fancydress/type3/Packet.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/org/noreply/fancydress/type3/Packet.java b/src/org/noreply/fancydress/type3/Packet.java index 6a28791..7738c0a 100644 --- a/src/org/noreply/fancydress/type3/Packet.java +++ b/src/org/noreply/fancydress/type3/Packet.java @@ -48,8 +48,9 @@ public class Packet { // Phase 1 if (leg2 instanceof SURB) { - byte[] k = ((SURB) leg2).getEncryptionKey(); - p = CryptoPrimitives.sprpDecrypt(k, "PAYLOAD ENCRYPT", p); + throw new Error("Not implemented yet"); + // byte[] k = ((SURB) leg2).getEncryptionKey(); + // p = CryptoPrimitives.sprpDecrypt(k, "PAYLOAD ENCRYPT", p); } else { byte[][] sk = ((ForwardLeg) leg2).getSharedKeys(); for (int i=sk.length-1; i>=0; i--) -- cgit v1.2.3