Skip to main content
Ctrl+K
Magma Magma
About Get Magma Documentation Try online People How to Cite Contact
Login
Login
  • Preface
  • The Magma Language
  • Sets, Sequences, and Mappings
  • Basic Rings
  • Matrices and Linear Algebra
  • Lattices and Quadratic Forms
  • Global Fields
  • Local Fields
  • Modules
  • Finite Groups
  • Finitely Presented Groups
  • Algebras
  • Representation Theory
  • Lie Theory
  • Commutative Algebra
  • Algebraic Geometry
  • Arithmetic Geometry
  • Modular Arithmetic Geometry
  • Topology
  • Geometry
  • Combinatorics
  • Coding Theory
  • Optimization
  • References
  • Coding Theory
  • Pseudo-Random Bit Sequences

Pseudo-Random Bit Sequences#

  • Introduction
  • Linear Feedback Shift Registers
    • LFSRSequence(C, S, t): RngUPolElt, SeqEnum, RngIntElt → SeqEnum
    • LFSRStep(C, S): RngUPolElt, SeqEnum → SeqEnum
    • BerlekampMassey(S): SeqEnum → RngUPolElt, RngIntElt
    • ConnectionPolynomial(S): SeqEnum → RngUPolElt, RngIntElt
    • CharacteristicPolynomial(S): SeqEnum → RngUPolElt, RngIntElt
    • Example: Connection Polynomial via Berlekamp-Massey
    • ShrinkingGenerator(C1, S1, C2, S2, t): RngUPolElt, SeqEnum, RngUPolElt, SeqEnum, RngIntElt → SeqEnum
  • Correlation Functions
    • AutoCorrelation(S, t): SeqEnum, RngIntElt → RngIntElt
    • Example: Autocorrelation of an LFSR Sequence
    • CrossCorrelation(S1, S2, t): SeqEnum, SeqEnum, RngIntElt → RngIntElt
  • Decimation
    • Decimation(S, f, d): SeqEnum, RngIntElt, RngIntElt → SeqEnum
    • Decimation(S, f, d, t): SeqEnum, RngIntElt, RngIntElt, RngIntElt → SeqEnum
    • Example: Decimating an LFSR Sequence
  • Hash Functions
    • SHA1(S): SeqEnum → MonStgElt
    • SHA1(s): MonStgElt → MonStgElt
    • Example: Digest of a String and of Its Bytes

previous

Hilbert Spaces

next

Introduction

Magma Magma

Magma is maintained and distributed by the Computational Algebra Group, School of Mathematics and Statistics, University of Sydney.

University of Sydney

Explore

  • About Magma
  • Documentation
  • Download
  • Calculator

Community

  • People
  • Contributions
  • Publications
  • Events
  • News

Help

  • FAQ
  • Contact
  • Subscriptions
  • How to Cite
© 1993–2026 Computational Algebra Group. All rights reserved. Built at the University of Sydney, Australia.