BIFID

The BIFID method encrypts or decrypts a text using the BIFID algorithm.

The parameters are

  • text: string
  • key: number
    • 5: 5×5 square
    • 6: 6×6 square
  • mode: number
    • 0: decrypt
    • 1: encrypt
  • polybiosMode: number
    • 0: user-defined
    • 1: A-Z 0-9
    • 2: Z-A 9-0
    • 3: x 9-0 Z – A
    • 4: x 0 – 9 – A – Z
  • alphabet: string
  • modification: number
    • 1: J = I
    • 2: C = K
    • 3: W = VV
    • 4: without Q

BIFID(string, number, number, number, string, number) => string