Class com.sekati.crypt.Luhn

Implemented Interfaces

IHash

Description

Validate a number with the Luhn Algorithm (aka Mod10) which is standard for pre-validating card numbers before being processed for approval.

See Also

Method Index

mod10()

Method Detail

mod10

static public function mod10(strNumber:String):Boolean

Validate a credit card number with mod10

Parameters

strNumber(String)

Return

Boolean