Security with data structures

Make a Hash

Article from Issue 148/2013
Author(s):

What do all programs have in common? They store data at some point, usually in arrays – everything from commandline options to the input and output. But how is data actually stored by the program? Kurt explains.

Many data types and structures exist – from simple strings and integers to multi-dimensional arrays. One of the most common and useful types is the simple growable array that can contain an arbitrary number of elements. You can basically put data in, look it up, and remove it as needed; this structure is also referred to as a one-dimensional array. Often, you can also insert an array as a data element into an existing array, giving you a multi-dimensional array that lets you do things like create a “customer” array with a number of elements containing a customer name, phone number, and so forth.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Security Lessons: Password Storage

    High-performance graphics cards and proper storage can help keep your passwords secure.

  • Memcached

    This practical caching tool can reduce the load on a web database server by as much as 90%.

  • Perl: Regression Tests

    With a test suite, you can fix bugs and add new features without ruining the existing codebase.

  • Perl: Q&A for the Web

    Catalyst is the Ruby on Rails of the Perl universe. When you are developing a web application like a quiz, using the MVC framework is really convenient and helps keep the underlying components cleanly separated.

  • PHP Scripting Intro

    PHP is becoming an essential tool for all but the simplest websites. This month we examine PHP in the Linux environment.

comments powered by Disqus

Direct Download

Read full article as PDF:

064-065_kurt.pdf (407.06 kB)

News

njobs Europe
What:
Where:
Country:
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia