Add FSI20Hex code

This commit is contained in:
Slava Bacherikov committed 2016-07-22 23:47:59 +03:00
1 parent 090c04440c
commit 2fe7788327
2 files changed
+57 -2

No files matched your search

+6 -1
View File
@@ -49,11 +49,16 @@ describe("Decryp BIOS", function() {
expect(bios.Insyde.check("12345678d")).toBe(false);
});
it("FSI 20 dec old key for 1234-4321-1234-4321-1234 is 7122790 or 10cphf0b", function() {
it("FSI 20 dec key for 1234-4321-1234-4321-1234 is 7122790 or 10cphf0b", function() {
expect(bios.FSI20DecOld.solve(bios.CleanSerial("1234-4321-1234-4321-1234")))
.toEqual(["7122790", "10cphf0b"]);
expect(bios.FSI20DecOld.solve(bios.CleanSerial("1234-4321-1234-4321-1236")))
.toEqual(["7122790", "100phf0b"]);
})
it("FSI 20 hex key for AAAA-BBBB-CCCC-DEAD-BEEF is 64830592", function() {
expect(bios.FSI20Hex.solve(bios.CleanSerial("AAAA-BBBB-CCCC-DEAD-BEEF")))
.toEqual(["64830592"]);
});
});