KR Clarke & RN Gorley User Manual / Tutorial

Total Page:16

File Type:pdf, Size:1020Kb

Load more

PRIMER v7: User Manual / Tutorial K R Clarke & R N Gorley Plymouth Routines85 In Multivariate Ecological85 Research PRIMER v7: User Manual/Tutorial K R Clarke & R N Gorley Published 2015 by PRIMER-E Ltd Business Address: 3 Meadow View, Lutton, Ivybridge, Devon PL21 9RH, United Kingdom Reproduced from 15 August 2016 by PRIMER-e (Quest Research Limited) Business Address: ecentre, Gate 5 Oaklands Rd, Massey University Albany Campus, Auckland, New Zealand First edition 2015 Clarke, K.R., Gorley, R.N. 2015 PRIMER v7: User Manual/Tutorial PRIMER-E: Plymouth © Copyright 2015, all rights reserved PRIMER v7: User Manual/Tutorial Contents OVERVIEW page A. Contact details and installation of the PRIMER v7 software Getting in touch with us 9 System requirements 9 Installing PRIMER 9 Information on analyses 9 PERMANOVA+ add-on 9 B. Introduction to the methods of PRIMER Application areas 10 Basic routines 10 C. Changes from PRIMER 6 to PRIMER 7 Wizards and major new analysis options 11 Additions to configuration (ordination) plots 13 Other new plots & plot features 14 General and miscellany 15 D. Typographic conventions for this manual Emphases and text symbols 16 Finding your way around 16 E. A brief tour through the operation of PRIMER v7 Opening the examples 17 Reading data in from Excel 17 Basic multivariate analysis (MVA) wizard 17 Pre-treatment of data 17 Matrix display wizard 18 Environmental data 18 Resemblance calculation 19 ANOSIM tests 19 CLUSTER analyses 19 MDS and PCA ordinations 19 Species analyses 20 Other analyses 20 MANUAL/TUTORIAL 0. Trial version, Help system, Manuals, Updates, Install and Uninstall (Help) PRIMER 7 trial software 21 Help system and manuals 21 Updates 22 Install and Uninstall 22 Example data 22 1. Opening, editing and saving data (File, Edit) Getting the examples 23 PRIMER file types 23 Compatibility of files 23 Opening the PRIMER 7 desktop 23 Entering data directly 24 Labelling samples and variables 24 Deleting and inserting rows/columns 25 Undo data sheet edits 25 Moving and sorting rows/columns 26 Cut, copying and pasting 26 Saving data, renaming and deleting 26 Undo in the workspace 26 Saving, closing and opening a workspace 27 Setting the initial directory 28 1 Opening PRIMER files 28 (Ekofisk oil-field fauna) 29 Properties 29 Opening Excel files 29 (Ekofisk abiotic data) 30 Wizard for input data 30 Missing or zero values? 31 (Tasmanian meiofauna) 32 Opening several files at once 32 Opening the same file twice 32 Text-format input files 32 Factors in 3-column text format files 33 Dialog for input of text format files 34 Size of data worksheets 35 Merging worksheets 35 Output data formats 35 Editing labels 36 2. Factors (and Indicators), identifying sample (and species) groups Active window 37 Use of factors 37 Creating and filling in factors 38 Cut, Copy, Paste, Delete in factors 38 Renaming and reordering factors 39 Multiple sessions and recent workspaces 39 Combining factors (e.g. to average) 40 Factor keys 41 Importing factors 42 Label matching 42 Factors in *.xls(x) or *.txt files 42 Creating indicators on variables 43 Indicators in selection 43 Variable information (aggregation files) 44 3. Highlighting and selection (Select) Highlight and select 45 (W Australia fish diets) 45 Summary statistics 45 Control of highlighting 46 Selecting and deselecting highlights 47 Duplicating a selected worksheet 47 Selecting by factor levels 47 Multiple selections 48 Selecting by number and non-missing 48 Selecting variables 49 Selecting by ‘most important’ 49 Selection in resemblance matrices 50 4. Pre-treatment options Standardising samples 51 Stats to worksheet 51 Standardising species 52 Transforming (overall) 52 Shade plots to aid choice of transform 53 Transforming abiotic variables 54 Draftsman, histogram and multi-plots 55 Transforming (individual) 56 Normalising variables 58 Dispersion weighting of species 59 (Fal estuary copepods) 60 2 Other variable weighting 61 Mixed data types 61 Variability weighting 62 (Biomarkers for N Sea flounder) 62 Cumulating samples 64 (Particle sizes for Danish sediments) 64 Surface plots 64 5. Resemblance: similarities, dissimilarities and distances Resemblance matrices 65 Standard resemblance choices 65 Bray-Curtis similarity 65 Zero-adjusted Bray-Curtis 66 (Tikus Island coral cover) 67 Euclidean distances 68 Index of Association 68 Accessing other resemblance measures 69 Distance measures 69 ‘Modified Gower’ 70 Similarity to dissimilarity 71 Quantitative similarity measures 71 Presence/Absence similarities 72 Quantitative measures on P/A data 72 Unravelling resemblances 73 Scatter plots 73 Other coefficients 74 Between-curve distances 75 (Plymouth particle-size analysis) 75 Taxonomic distinctness/aggregation files 76 Taxonomic dissimilarity measures 76 (Groundfish of European shelf waters) 77 Relatedness supplied as resemblances 77 Analysing between variables 78 Correlation between variables 79 Correlation as similarity 80 Corrections for missing data 80 Saving and opening triangular matrices 82 6. Clustering methods (CLUSTER, SIMPROF, UNCTREE, kRCLUSTER) Clustering methods and choice of linkage 83 SIMPROF tests 83 SIMPROF on large matrices 83 Modifying plots in PRIMER 83 (Exe estuary nematodes) 84 Cophenetic correlation 85 Copying and pasting plots externally 85 Sample labels & symbols menu/tab 85 Symbol and text sizes 86 Editing plot titles and scales 86 General menu/tab and Keys tab 87 Special menu for slicing and orientation of dendrograms 87 Rotating and condensing dendrograms 88 Timing bar, Stop Tasks and multi-tasking 88 Ordering factor levels in keys 89 Point and click short-cuts 89 Zooming dendrograms 89 SIMPROF method 91 (Bristol Channel zooplankton) 91 CLUSTER results window 93 3 SIMPROF direct run 93 SIMPROF Types (1-4) 94 SIMPROF on a subset of samples 94 Histograms of null distributions 95 Linkage by flexible beta method 96 Single and complete linkage 97 Limiting font size 98 Binary divisive clustering 98 UNCTREE options 99 Text pane in tree plots 99 A% and B% y-axis scales 100 Special menu for divisive trees 100 Flat-form clustering 101 7. Managing the workspace and plotting (Window, File, View, Multi Plot, Plots) Explorer tree 103 Forward and backward propagation 103 Closing, redisplaying & tiling windows 104 Minimising windows 104 View menu 104 Understanding the Explorer tree 104 Rolling up branches of the tree 105 Renaming or deleting items in a workspace 105 Undo in the Explorer tree, to reinstate or re-order 105 Saving plots 106 Vector vs. pixel plots 106 Saving graph values 107 Saving results 107 Adding notes 107 Printing results and graphs 108 Automatic creation of multi-plots 109 User creation and manipulation of multi-plots 110 Plots menu 111 Workspace planning 112 8. Multi-dimensional scaling (Non-metric nMDS, Metric mMDS, Combined MDS) Rationale for nMDS and mMDS 113 Combined MDS and ‘Fix Collapse’ 113 Diagnostic tools for MDS plots 113 Overlaying factors or other data (bubble plot) 114 Running an nMDS (Exe nematodes) 114 MDS results window 115 Shepard diagrams 115 Dissimilarity preservation as a matrix correlation 116 Accuracy and fit scheme 117 Graph menu: rotating and flipping the 2-d ordination 118 Align graphs automatically 118 Zoom and MDS subset plots 119 Special menu for ordination 120 Aspect ratio of boundary 120 Diagnostics for MDS: join pairs 120 Features that carry over to 3-d ordination 120 Minimum spanning tree (MST) 121 Linking MDS plots to cluster analysis 122 Cluster overlays on MDS plots 123 Dendrogram and 2-d MDS in a 3-d plot 124 3-d ordination plots and axes selection 124 Rotate axes or rotate and flip data 125 Drawing verticals for 3-d plots 125 4 (W Australia fish diets) 126 Higher dimensions and scree plots 126 Spinning a 3-d MDS and capture in a movie file 127 (Morlaix macrofauna, Amoco-Cadiz oil spill) 128 Overlay trajectories 128 Sequence animation, captured in 2- and 3-d 129 Trajectories split and then sequence animated 130 (Tees Bay macrofauna time series) 131 Matching variable sets 132 (Ekofisk oil-field study) 132 Bubble plots of single variables 133 Bubble colours 133 Bubble key 134 Bubble images 135 Duplicate graphs 135 Vector plots for species 136 Environment bubble and vector plots 137 Segmented bubble plots 138 (Bristol Channel zooplankton) 140 Bubble plots in 3-d MDS 140 (W Australian fish diets) 140 Bubble plot on averages 141 Bubble plot selection error and Refresh 142 Metric MDS 143 (Great circle distances for world cities) 143 Identifying points on the Shepard plot 144 Animating the mMDS and nMDS iterations 144 (Morlaix macrofauna, Amoco-Cadiz oil spill) 146 Threshold metric MDS (tmMDS) 147 Metric MDS for ordinating few points 148 ‘Fix collapse’ in nMDS 149 (Ko Phuket transects of coral reefs) 149 Combined nMDS 150 (Messolongi diatoms and abiotic data) 150 9. Analysis of Similarity tests (unordered and ordered ANOSIM) ANOSIM introduction 151 1-way layout (WA fish diet example) 152 Pairwise comparisons 153 Other 1-way ANOSIM options 154 1-way layout (Biomarkers example) 155 1-way ordered ANOSIM (Ekofisk oil-field study) 156 2-way crossed ANOSIM (Tasmanian crabs study) 158 2-way crossed ANOSIM (Danish sediment data) 159 (Phuket coral reefs) 160 1-way ordered without replication 160 2-way crossed, ordered test 161 ANOSIM for 2-way crossed design with no replication (Exe study) 163 2-way nested ANOSIM (Calafuria macroalgae) 164 3-way crossed ANOSIM (King Wrasse diets) 166 3-way fully nested design (NZ holdfast fauna) 167 3-way crossed and nested design (Tees Bay macrofauna) 169 10. Wizards and species
Recommended publications
  • Stage De Master 2R

    Stage De Master 2R

    STAGE DE MASTER 2R SYSTEMES ELECTRONIQUES ET GENIE ELECTRIQUE PARCOURS SYSTEMES ELECTRONIQUES ANNEE UNIVERSITAIRE 2006/2007 CRYPTO-COMPRESSION BASED ON CHAOS OF STILL IMAGES FOR THE TRANSMISSION YIN XU École Polytechnique de l’Université de Nantes Laboratoire IREENA Encadrants du stage : Safwan EL ASSAD Vincent RICORDEL Stage effectué du (05/02/2007) au (09/07/2007) Acknowledgments I would like to express my gratitude to my supervisors Professor Safwan EL ASSAD and Professor Vincent RICORDEL, who have been giving me direction with great patience. As the tutor of the first part of my internship, Prof. RICORDEL coached me on the study of JPEG 2000 systems and I benefited a lot from his tutorials. His constructive suggestions on my research and careful correction of my submitted materials are deeply appreciated. And as the tutor of the second part of my internship, Prof. EL ASSAD pointed out a clear direction of the subject that I should follow, which spare me from the potential wasting of time. He was always encouraging me and thus providing me with more confidence to achieve the objects of the internship. Doctor. Abir AWAD helped me a lot on the program-performance comparisons of C++ and MATLAB and she also gave me many useful materials on my subject. I am really thankful. I would also give my thankfulness to Professor Joseph SAILLARD and Professor Patrick LE CALLET for attending my final defense as a member of the jury despite the busy occupation of their own work. Of course also send great thankfulness to my two supervisors Prof. EL ASSAD and Prof.
  • Symmetric Key Ciphers Objectives

    Symmetric Key Ciphers Objectives

    Symmetric Key Ciphers Debdeep Mukhopadhyay Assistant Professor Department of Computer Science and Engineering Indian Institute of Technology Kharagpur INDIA -721302 Objectives • Definition of Symmetric Types of Symmetric Key ciphers – Modern Block Ciphers • Full Size and Partial Size Key Ciphers • Components of a Modern Block Cipher – PBox (Permutation Box) – SBox (Substitution Box) –Swap – Properties of the Exclusive OR operation • Diffusion and Confusion • Types of Block Ciphers: Feistel and non-Feistel ciphers D. Mukhopadhyay Crypto & Network Security IIT Kharagpur 1 Symmetric Key Setting Communication Message Channel Message E D Ka Kb Bob Alice Assumptions Eve Ka is the encryption key, Kb is the decryption key. For symmetric key ciphers, Ka=Kb - Only Alice and Bob knows Ka (or Kb) - Eve has access to E, D and the Communication Channel but does not know the key Ka (or Kb) Types of symmetric key ciphers • Block Ciphers: Symmetric key ciphers, where a block of data is encrypted • Stream Ciphers: Symmetric key ciphers, where block size=1 D. Mukhopadhyay Crypto & Network Security IIT Kharagpur 2 Block Ciphers Block Cipher • A symmetric key modern cipher encrypts an n bit block of plaintext or decrypts an n bit block of ciphertext. •Padding: – If the message has fewer than n bits, padding must be done to make it n bits. – If the message size is not a multiple of n, then it should be divided into n bit blocks and the last block should be padded. D. Mukhopadhyay Crypto & Network Security IIT Kharagpur 3 Full Size Key Ciphers • Transposition Ciphers: – Involves rearrangement of bits, without changing value. – Consider an n bit cipher – How many such rearrangements are possible? •n! – How many key bits are necessary? • ceil[log2 (n!)] Full Size Key Ciphers • Substitution Ciphers: – It does not transpose bits, but substitutes values – Can we model this as a permutation? – Yes.
  • Network Security H B ACHARYA

    Network Security H B ACHARYA

    Network Security H B ACHARYA NETWORK SECURITY Day 2 NETWORK SECURITY Encryption Schemes NETWORK SECURITY Basic Problem ----- ----- ? Given: both parties already know the same secret How is this achieved in practice? Goal: send a message confidentially Any communication system that aims to guarantee confidentiality must solve this problem NETWORK SECURITY slide 4 One-Time Pad (Vernam Cipher) ----- 10111101… ----- = 10111101… 10001111… = 00110010… 00110010… = Key is a random bit sequence as long as the plaintext Decrypt by bitwise XOR of ciphertext and key: ciphertext key = (plaintext key) key = Encrypt by bitwise XOR of plaintext (key key) = plaintext and key: plaintext ciphertext = plaintext key Cipher achieves perfect secrecy if and only if there are as many possible keys as possible plaintexts, and every key is equally likely (Claude Shannon, 1949) NETWORK SECURITY slide 5 Advantages of One-Time Pad Easy to compute ◦ Encryption and decryption are the same operation ◦ Bitwise XOR is very cheap to compute As secure as theoretically possible ◦ Given a ciphertext, all plaintexts are equally likely, regardless of attacker’s computational resources ◦ …if and only if the key sequence is truly random ◦ True randomness is expensive to obtain in large quantities ◦ …if and only if each key is as long as the plaintext ◦ But how do the sender and the receiver communicate the key to each other? Where do they store the key? NETWORK SECURITY slide 6 Problems with One-Time Pad Key must be as long as the plaintext ◦ Impractical in most realistic
  • “Network Security” Omer Rana Cryptography Components

    “Network Security” Omer Rana Cryptography Components

    “Network Security” Omer Rana CM0255 Material from: Cryptography Components Sender Receiver Ciphertext Plaintext Plaintext Encryption Decryption Encryption algorithm: Plaintext Ciphertext • Cipher: encryption or decryption algorithms (or categories of algorithms) • Key: a number (set of numbers) – that the cipher (as an algorithm) operates on. • To encrypt a message: – Encryption algorithm – Encryption key Ciphertext – Plaintext 1 Three types of keys: Symmetric -key Secret Key Cryptography Public Key shared secret key Alice Bob Private Key Plaintext Ciphertext Plaintext Encryption Decryption •Same key used by both parties •Key used for both encryption and decryption •Keys need to be swapped beforehand using a secure mechanism Asymmetric -key To everyone (public) Bob’s public Cryptography key Alice Bob Bob’s private key Ciphertext Plaintext Plaintext Encryption Decryption Differentiate between a public key and a private key Symmetric-Key Cryptography • Traditional ciphers: – Character oriented – Two main approaches: • Substitution ciphers or • Transposition Ciphers • Substitution Ciper: – Substitute one symbol with another – Mono-alphabetic : a character (symbol) in plaintext is changed to the same character (symbol) in ciphertext regardless of its position in the text If L O, every instance of L will be changed to O Plaintext: HELLO Ciphertext: KHOOR – Poly-alphabetic : each occurrence can have a different substitute. Relationship between a character in plaintext to ciphertext is one-to-many (based on position being in beginning, middle
  • Data Encryption Standard (DES)

    Data Encryption Standard (DES)

    6 Data Encryption Standard (DES) Objectives In this chapter, we discuss the Data Encryption Standard (DES), the modern symmetric-key block cipher. The following are our main objectives for this chapter: + To review a short history of DES + To defi ne the basic structure of DES + To describe the details of building elements of DES + To describe the round keys generation process + To analyze DES he emphasis is on how DES uses a Feistel cipher to achieve confusion and diffusion of bits from the Tplaintext to the ciphertext. 6.1 INTRODUCTION The Data Encryption Standard (DES) is a symmetric-key block cipher published by the National Institute of Standards and Technology (NIST). 6.1.1 History In 1973, NIST published a request for proposals for a national symmetric-key cryptosystem. A proposal from IBM, a modifi cation of a project called Lucifer, was accepted as DES. DES was published in the Federal Register in March 1975 as a draft of the Federal Information Processing Standard (FIPS). After the publication, the draft was criticized severely for two reasons. First, critics questioned the small key length (only 56 bits), which could make the cipher vulnerable to brute-force attack. Second, critics were concerned about some hidden design behind the internal structure of DES. They were suspicious that some part of the structure (the S-boxes) may have some hidden trapdoor that would allow the National Security Agency (NSA) to decrypt the messages without the need for the key. Later IBM designers mentioned that the internal structure was designed to prevent differential cryptanalysis.
  • COS433/Math 473: Cryptography Mark Zhandry Princeton University Spring 2017 Previously

    COS433/Math 473: Cryptography Mark Zhandry Princeton University Spring 2017 Previously

    COS433/Math 473: Cryptography Mark Zhandry Princeton University Spring 2017 Previously Pseudorandom Functions and Permutaitons Modes of Operation Pseudorandom Functions Functions that “look like” random functions Syntax: • Key space {0,1}λ • Domain X (usually {0,1}m, m may depend on λ) • Co-domain/range Y (usually {0,1}n, may depend on λ) • Function F:{0,1}λ × XàY Pseudorandom Permutations (also known as block ciphers) Functions that “look like” random permutations Syntax: • Key space {0,1}λ • Domain X (usually {0,1}n, n usually depends on λ) • Range X • Function F:{0,1}λ × XàX • Function F-1:{0,1}λ × XàX Correctness: ∀k,x, F-1(k, F(k, x) ) = x Pseudorandom Permutations Security: λ b Challenger x∈X y b’ Pseudorandom Permutations Security: λ b=0 Challenger k ß Kλ x∈X y y ß F(k,x) b’ PRF-Exp0( , λ) Pseudorandom Permutations Security: λ b=1 Challenger HßPerms(X,X) x∈X y y = H(x) b’ PRF-Exp1( , λ) Theorem: A PRP (F,F-1) is secure iff F is a secure as a PRF Theorem: There are secure PRPs (F,F-1) where (F-1,F) is insecure Strong PRPs λ b=0 Challenger k ß K x∈X λ y y ß F(k,x) x∈X ß -1 y y F (k,x) b’ PRF-Exp0( , λ) Strong PRPs λ b=1 Challenger x∈X HßPerms(X,X) y y ß H(x) x∈X ß -1 y y H (x) b’ PRF-Exp1( , λ) Theorem: If (F,F-1) is a strong PRP, then so is (F-1,F) PRPs vs PRFs In practice, PRPs are the central building block of most crypto • Also PRFs • Can build PRGs • Very versatile Today Constructing PRPs Today, we are going to ignore negligible, and focus on concrete parameters • E.g.
  • Introduction to Modern Symmetric-Key Ciphers Objectives

    Introduction to Modern Symmetric-Key Ciphers Objectives

    Introduction to Modern Symmetric-key Ciphers Objectives ❏ To distinguish between traditional and modern symmetric-key ciphers. ❏ To introduce modern block ciphers and discuss their characteristics. ❏ To explain why modern block ciphers need to be designed as substitution ciphers. ❏ To introduce components of block ciphers such as P-boxes and S-boxes. Objectives (Continued) ❏ To discuss product ciphers and distinguish between two classes of product ciphers: Feistel and non-Feistel ciphers. ❏ To discuss two kinds of attacks particularly designed for modern block ciphers: differential and linear cryptanalysis. ❏ To introduce stream ciphers and to distinguish between synchronous and nonsynchronous stream ciphers. ❏ To discuss linear and nonlinear feedback shift registers for implementing stream ciphers. MODERN BLOCK CIPHERS A symmetric-key modern block cipher encrypts an n-bit block of plaintext or decrypts an n-bit block of ciphertext. The encryption or decryption algorithm uses a k-bit key. 1 Substitution or Transposition 2 Block Ciphers as Permutation Groups 3 Components of a Modern Block Cipher 4 Product Ciphers 5 Two Classes of Product Ciphers 6 Attacks on Block Ciphers Figure A modern block cipher Example How many padding bits must be added to a message of 100 characters if 8-bit ASCII is used for encoding and the block cipher accepts blocks of 64 bits? Solution Encoding 100 characters using 8-bit ASCII results in an 800- bit message. The plaintext must be divisible by 64. If | M | and |Pad| are the length of the message and the length of the padding, Substitution or Transposition A modern block cipher can be designed to act as a substitution cipher or a transposition cipher.
  • An Efficient VHDL Description and Hardware Implementation of The

    An Efficient VHDL Description and Hardware Implementation of The

    An Efficient VHDL Description and Hardware Implementation of the Triple DES Algorithm A thesis submitted to the Graduate School of the University of Cincinnati In partial fulfillment of the requirements for the degree of Master of Science In the Department of Electrical and Computer Engineering Of the College of Engineering and Applied Sciences June 2014 By Lathika SriDatha Namburi B.Tech, Electronics and Communications Engineering, Jawaharlal Nehru Technological University, Hyderabad, India, 2011 Thesis Advisor and Committee Chair: Dr. Carla Purdy ABSTRACT Data transfer is becoming more and more essential these days with applications ranging from everyday social networking to important banking transactions. The data that is being sent or received shouldn’t be in its original form but must be coded to avoid the risk of eavesdropping. A number of algorithms to encrypt and decrypt the data are available depending on the level of security to be achieved. Many of these algorithms require special hardware which makes them expensive for applications which require a low to medium level of data security. FPGAs are a cost effective way to implement such algorithms. We briefly survey several encryption/decryption algorithms and then focus on one of these, the Triple DES. This algorithm is currently used in the electronic payment industry as well as in applications such as Microsoft OneNote, Microsoft Outlook and Microsoft system center configuration manager to password protect user content and data. We implement the algorithm in a Hardware Description Language, specifically VHDL and deploy it on an Altera DE1 board which uses a NIOS II soft core processor. The algorithm takes input encoded using a software based Huffman encoding to reduce its redundancy and compress the data.
  • Cryptanalysis of Block Ciphers

    Cryptanalysis of Block Ciphers

    Cryptanalysis of Block Ciphers Jiqiang Lu Technical Report RHUL–MA–2008–19 30 July 2008 Royal Holloway University of London Department of Mathematics Royal Holloway, University of London Egham, Surrey TW20 0EX, England http://www.rhul.ac.uk/mathematics/techreports CRYPTANALYSIS OF BLOCK CIPHERS JIQIANG LU Thesis submitted to the University of London for the degree of Doctor of Philosophy Information Security Group Department of Mathematics Royal Holloway, University of London 2008 Declaration These doctoral studies were conducted under the supervision of Prof. Chris Mitchell. The work presented in this thesis is the result of original research carried out by myself, in collaboration with others, whilst enrolled in the Information Security Group of Royal Holloway, University of London as a candidate for the degree of Doctor of Philosophy. This work has not been submitted for any other degree or award in any other university or educational establishment. Jiqiang Lu July 2008 2 Acknowledgements First of all, I thank my supervisor Prof. Chris Mitchell for suggesting block cipher cryptanalysis as my research topic when I began my Ph.D. studies in September 2005. I had never done research in this challenging ¯eld before, but I soon found it to be really interesting. Every time I ¯nished a manuscript, Chris would give me detailed comments on it, both editorial and technical, which not only bene¯tted my research, but also improved my written English. Chris' comments are fantastic, and it is straightforward to follow them to make revisions. I thank my advisor Dr. Alex Dent for his constructive suggestions, although we work in very di®erent ¯elds.
  • COS433/Math 473: Cryptography Mark Zhandry Princeton University Fall 2020 Announcements/Reminders

    COS433/Math 473: Cryptography Mark Zhandry Princeton University Fall 2020 Announcements/Reminders

    COS433/Math 473: Cryptography Mark Zhandry Princeton University Fall 2020 Announcements/Reminders HW2 due Today • Submit through Gradescope PR1 Due October 6 Previously on COS 433… Confusion/Diffusion Paradigm Confusion/Diffusion Paradigm Third Attempt: Repeat multiple times! f1 f2 f3 f4 f5 f6 Round π1 f7 f8 f9 f10 f11 f12 π2 Confusion/Diffusion Paradigm While single round is insecure, we’ve made progress • Each bit affects 8 output bits With repetition, hopefully we will make more and more progress Confusion/Diffusion Paradigm With 2 rounds, • Each bit affects 64 output bits With 3 rounds, all 128 bits are affected Repeat a few more times for good measure Limitations Describing subs/perms requires many bits • Key size for r rounds is approximately 28×λ×r • Ideally want key size to be 128 (or 256) Idea: instead, fix subs/perms • But then what’s the key? Substitution Permutation Networks Variant of previous construction • Fixed public permutations for confusion (called a substitution box, or S-box) • Fixed public permutation for diffusion (called a permutation box, or P-box) • XOR “round key” at beginning of each round Substitution Permutation Networks ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ Round key Round s1 s2 s3 s4 s5 s6 π Substitution Permutation Networks ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ Round key Round s1 s2 s3 s4 s5 s6 π Potentially ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ different s1 s2 s3 s4 s5 s6 π Substitution Permutation Networks ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ Round key Round s1 s2 s3 s4 s5 s6 π Potentially ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ different s1 s2 s3 s4 s5 s6 π Final key ⊕ ⊕ ⊕ ⊕ ⊕ ⊕ mixing Substitution Permutation Networks To specify
  • Research Article Improved 2D Discrete Hyperchaos Mapping with Complex Behaviour and Algebraic Structure for Strong S-Boxes Generation

    Research Article Improved 2D Discrete Hyperchaos Mapping with Complex Behaviour and Algebraic Structure for Strong S-Boxes Generation

    Hindawi Complexity Volume 2020, Article ID 8868884, 16 pages https://doi.org/10.1155/2020/8868884 Research Article Improved 2D Discrete Hyperchaos Mapping with Complex Behaviour and Algebraic Structure for Strong S-Boxes Generation Musheer Ahmad 1 and Eesa Al-Solami 2 1Department of Computer Engineering, Jamia Millia Islamia, New Delhi 110025, India 2Department of Information Security, University of Jeddah, Jeddah 21493, Saudi Arabia Correspondence should be addressed to Musheer Ahmad; [email protected] Received 30 September 2020; Revised 7 December 2020; Accepted 11 December 2020; Published 23 December 2020 Academic Editor: Jesus M. Muñoz-Pacheco Copyright © 2020 Musheer Ahmad and Eesa Al-Solami. *is is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. *is paper proposes to present a novel method of generating cryptographic dynamic substitution-boxes, which makes use of the combined effect of discrete hyperchaos mapping and algebraic group theory. Firstly, an improved 2D hyperchaotic map is proposed, which consists of better dynamical behaviour in terms of large Lyapunov exponents, excellent bifurcation, phase attractor, high entropy, and unpredictability. Secondly, a hyperchaotic key-dependent substitution-box generation process is designed, which is based on the bijectivity-preserving effect of multiplication with permutation matrix to obtain satisfactory configuration of substitution-box matrix over the enormously large problem space of 256!. Lastly, the security strength of obtained S-box is further elevated through the action of proposed algebraic group structure. *e standard set of performance parameters such as nonlinearity, strict avalanche criterion, bits independent criterion, differential uniformity, and linear approximation probability is quantified to assess the security and robustness of proposed S-box.
  • Cryptography Glossary

    Cryptography Glossary

    Cryptography Glossary A5/1 A stream cipher used in GSM mobile phone communication. 36 Active Attack A cryptanalysis attack that relies on actively disrupting communication 44 or forcefully getting access to data. Adaptive chosen-ciphertext Attack Similar to chosen-ciphertext attack but Eve can choose subsequent ci- 44 phertexts based on information learnt from previous encryptions. Adaptive chosen-plaintext Attack Similar to chosen-plaintext attack but Eve can choose subsequent plain- 44 texts based on information learnt from previous encryptions. AddRoundKey The round key addition operation used during AES encryption and de- 28 cryption. AES The advanced encryption standard that is the successor of DES. 26 Alice The sender of an encrypted message. 11 Asymmetric Cipher Cipher that uses different (not trivially related) keys for encryption and 11, 54 decryption. Asymmetric Cryptography The study of algorithms and protocols for asymmetric ciphers. 54 Birthday Paradox A probability theoretical fact stating that in a random group of ¢¡ people 47 the likelihood that two of them will have the same birthday is more than £¥¤§¦ Block A fixed-length group of bits. 11 Block Cipher A symmetric key cipher, which operates on fixed-length groups of bits, 11 named blocks. Bob The intended receiver of an encrypted message. Bob is assumed to have 11 the key to decrypt it. C2 Short for Cryptomeria. 24 CA Short for Certification Authority. 71 Caesar Cipher Shift cipher with fixed shift of ¡ . 6 © § ¨ © !¨ Carmichael Number A number ¨ for which for all but that is 64 nevertheless composite. CBC Short for Cipher Block Chaining 20 CBC-MAC A method to produce a MAC from a block cipher.