Cryptography

From Hökaland Wiki
Revision as of 18:52, 17 September 2015 by Leord (talk | contribs) (Created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Cryptography

Knowledge (Mathematics) and Craft (Cryptography) or Profession (Cryptographer) can be used to decipher deliberately encrypted written messages. While Linguistics is used to decipher actual information from messages, cryptography is a very deliberate and specific skill. Mathematics skills are always useful, but a character can only receive a bonus from either her skill i ncraft or her profession.

Skill ranks in either mathematics or encryption (either craft or profession) can be combined up to 1½ the number of HD a character has (round down). The character still has to choose to use either Knowledge (Mathematics), Craft (Cryptography) or Profession (Cryptographer) for the actual skill check, however. This means the ability modifier and special bonuses only applies once and only for the skill selected.

A character cannot attempt to decipher a coded message untrained unless she has clear instructions she can follow, and then make an intelligence check assisted by the encryption bonus provided by the instructions.

Example: Exarch the wizard is trying to decipher a message he has intercepted. He is his Circle's cryptographer (Profession (Cryptography)) and is very good at mathematics at level 8. He first adds together his 8 skill ranks in Knowledge (Mathematics) and 8 ranks in Profession (Cryptography), getting a total of 16. However, he has a total of 8 HD, so the maximum skill rank bonus is 12 and she chooses to use Knowledge (Mathematics) for the roll, adding her Class Skill bonus and Skill Focus bonus. This total skill rank bonus of 12 is then combined with his Intelligence bonus of 4, Class Skill bonus of 3 and Skill Focus bonus of 3: 12 + 4 + 3 + 3 = 22. He then adds +22 to his decipher roll.


Choose Encryption

When making an encrypted message, there are a number of techniques one can choose from; each have advantages and disadvantages. If the logistics of ciphers and methods between the sender and recipient is dealt with, the main difference between methods is the time it takes to decipher the message. For the use of rules in Hökaland there are three categories:

  1. Impossible: One Time Pad or Running Cipher
    • Base DC: 20
    • These methods are not really used (or needed) by most peope. Many don't even know they exist or how they work.
    • Unless a cipher is available, the encryption cannot be broken.
    • Takes a very long time to decode, even with cipher and needs notes or other tools.
  2. Very hard: Polyalphabetic cipher
    • Base DC: 15
    • Less wieldly and the recipient needs to already have a cipher for effective decryption.
    • Messages can be broken without ciphers, but it's hard.
    • Takes a long time to decode without cipher.
  3. Hard:Substitution cipher or Transposition cipher
    • Base DC: 5
    • Most common encryption of this time period. Makes sure uninitiated can't read it and delays the time it takes for others to do so.
    • Messages can be broken without ciphers, but the decoder needs some specialist skill.
    • Can be decoded without any additional tools and fairly quickly.
  4. Code: Simply a matter of writing with replaced words or innuendos. More of a Linguisitc, Bluff or Sense Motive roll than Mathematics, etc.
    • Depends on coder's Bluff check.

The character needs to have a total bonus that is higher or equal to the base DC of a cryptography method to use it.

Create Cipher

A cipher is the 'key' to an encryption. It can be used for any number of messages.

To encrypt a message the cryptographer needs to choose a method and make a cipher. When method is chosen she then decides if she wants to modify the base DC further (See table). A character makes an appropriate skill check against the modified DC to see how long time it takes. The creation takes a number of minutes equal to the modified DC of the encryption method, minus 1 for every point rolled over the DC. If the result would reduce the time to between 0 and -5 minutes, it instead takes 30 seconds. If the result reduced the time to less than -5 minutes, it instead takes 6 seconds (1 full-round action).

If she fails the check by 5 or less, her messages will have bits of gibberish in it (GM's discretion) but a fail by more than 5 will just create incoherent messages, even with the cipher to decode it.


Encrypt Message

When a character has made a cipher, she rolls to encrypt a message using this cipher. She makes an appropriate skill check against the modified DC. If she suceeds, she writes the encrypted text in the standard time it would take but if she fails by less than 5, she has made an error and realises she needs to start over. If she fails by more than 5, she doesn't notice the error and the message is altered (at GM's discretion; most likely making a some part undecipherable).

The time it takes to encrypt the message is decided by multipying the modified DC with the length of the message in minutes. Each quarter of a page counts as 1 in this equation, and minimum one quarter page message is calculated for the time. For every point of the skill check result above the DC, the time to encrypt is reduced by 1 minute. If the result would reduce the time to 0 or less, it instead takes 30 seconds.


Decrypt a Message

Decrypting a message is easy but can take time if the recipient knows the method and cipher. In the case of Impossible encryption, the recipient needs the cipher written down or on some device showing it.


Method Category



To decrypt a message without the actual cipher (to break the cipher) can be fairly easy but time-consuming, hard or impossible.






House Rules* & Roleplaying nav.. (e)

Primary


RP Intro
Introduction
DnD 5e
Pathfinder 2e
Pathfinder
DnD 3.5
Healing
Environment
Knowledge
Links


Character


Classes
Races
Feats


Specific


Healing
Fatigue
Hexploration
Travel
Starvation


Hero Points
Languages
Magic items
Item
Prices
Spells


New Concepts


Cryptography


Production


Links
Generators
Glossary
Kingdom creation
Worldcraft


Minis


Campaigns


CoS 2
CoS 1
IPO
Escape
PF2
Coin & Blood
English
Expectations


Players*


Outdated


Death
Death Attack
Magic (D20)*
  Residue Table*
Magic residue
  Rogue talent
Sparks
Spell Trickery
Skill bonus
Skill training*
Wounds*
Damage Conversion
Masterwork

References