unix and linux operating commands

SSN algorithm

 
Thread Tools Search this Thread
# 1  
Old 02-03-2010
SSN algorithm

Given the importance and wide use of US Social Security Numbers (even though the use is legally restricted), this article on how to determine SSNs is fairly important.

Image
Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

banker's algorithm.. help

i'm doing banker's algorithm.. got some error there but i cant fix it.. please help!! #!/bin/bash echo "enter no.of resources: " read n1 echo -n "enter the max no .of resources for each type: " for(( i=0; i <$n1; i++ )) do read ${t} done echo -n "enter no .of... (1 Reply)
Discussion started by: syah
1 Replies

2. Homework & Coursework Questions

Heuristic Algorithm Example

Give a counter example such that the following heuristic algorithm, for the 2-tape problem, doesn't always produce the best solution: Algorithm: Sort {Xi} in descending order. Place files in tapes one at a time. For a file being considered, assign the file to the smaller tape. Thanks in... (1 Reply)
Discussion started by: sureshcisco
1 Replies

3. Programming

Looking for Your Help on dijkstra algorithm

Can you help to adjust the void dijkstra(int s) function to find a path from source to every node so that the minimum cost on that path is maximum. Ex: From 1 to 2 we have 1 - 3 - 4 - 2 , costs(2+3+4+5) From 1 to 2 we have 1 - 5 - 6 - 2 , costs(3+3+4+5) I need the algorithm to choose path 1... (4 Replies)
Discussion started by: ali2011
4 Replies

4. Programming

Please help me to develop algorithm

Hi guys , in my study book from which I re-learn C is task to generate all possible characters combination from numbers entered by the user. I know this algorithm must use combinatorics to calculate all permutations. Problem is how to implement algortihm. // This program reads the four numbers... (0 Replies)
Discussion started by: solaris_user
0 Replies

5. IP Networking

Connecting to an SSN from an internal network

Hi I have an Apache Web server running on a Solaris 8 box that sits on a SSN. I have one desktop that connects to the SSN from the internal network and is recognised directly without using the gateway, all other desktops, laptops from inside the internal network connect to the SSN using the... (0 Replies)
Discussion started by: Bobby76
0 Replies

6. UNIX for Advanced & Expert Users

Algorithm In Pseudocode

A) produce an algorithm in pseudocode and a flowchart that gets n from the user and calculate their sum. B) Write an algorithm in pseudocode and a flowchart that gets number x from he user and calculates x5 ( X to the power of %5). Calculate by using multiplication. ... (1 Reply)
Discussion started by: delsega
1 Replies

7. What is on Your Mind?

Can I use a name for SSN that is different from my visa?

I'm currently under my parents' e2 visa, but I might get my ssn during this summer. on my visa, it has my legal name from my country...but since my name was too hard for native speakers to pronounce, I went by an English name for long....I used that name for all my middle and high school year, so I... (2 Replies)
Discussion started by: shanekol
2 Replies

8. Shell Programming and Scripting

algorithm

PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP 21444 tomusr 213M 61M sleep 29 10 1:20:46 0.1% java/43 21249 root 93M 44M sleep 29 10 1:07:19 0.2% java/56 is there anyway i can use a command to get the total of the SIZE? 306M (Derive from... (5 Replies)
Discussion started by: filthymonk
5 Replies
Login or Register to Ask a Question
get_num_crypts(3)					     Library Functions Manual						 get_num_crypts(3)

NAME
get_num_crypts, get_crypt_name - determine the encryption types available (Enhanced Security) LIBRARY
Security Library (libsecurity.so) SYNOPSIS
#include <prot.h> int get_num_crypts(void); const char *get_crypt_name( int cryptnum); PARAMETERS
cryptnum The encryption algorithm for which the name is to be returned. DESCRIPTION
The get_num_crypts() function returns the number of encryption algorithms which the current system supports. This value is non-negative, and at least four. The get_crypt_name() function returns a pointer to static storage containing the name of the encryption algorithm with the index value given in the cryptnum parameter. Other calls to get_crypt_name() could overwrite the stored name, so applications should copy the names this function returns if there is a chance that other parts of the application might also call this function. This function returns NULL if the given algorithm index is negative or if it is not less than the return value of get_num_crypts(). Algorithm indexes are most com- monly obtained from the fd_oldcrypt and fd_newcrypt fields of an extended profile entry. The dxaccounts system management GUI uses the get_num_crypts() and get_crypt_name() functions to determine how to display the menu of allowable encryption algorithms for ENHANCED security. RETURN VALUES
The get_num_crypts() function returns a non-negative value which is at least four. The get_crypt_name() function returns a name for a known encryption algorithm, or a NULL pointer if the given index is out of range. NOTES
In order to quickstart a program, the program must be linked as follows: -lsecurity -ldb -laud -lm See the shared library discussion in the Programmer's Guide for more information about using the quickstarting feature. RELATED INFORMATION
getespwent(3), getesdfent(3), dispcrypt(3), dxaccounts(8) Security delim off get_num_crypts(3)