# Functions
No description provided by the author
No description provided by the author
AESDecrypt does decryption of base64 encoded AES encrypted data an returns plain string.
AESEncrypt does AES Encryption and return base64.
AmountInWords returns the amount in words.
CalculateMedian returns median of numbers.
CheckSupportedFormats checks for supported formats and returns file object, extension, error http code and error message if any.
CheckWithinNDays takes input string in YYYY-MM-DD format.
CleanAddressLine removes unallowed characters from address.
CleanColumn removes unallowed characters from address.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ValidateStruct validates the struct and return error if they occur.
FileFromURLtoBase64 retrieves file using url and converts to base64.
FormatCurrency returns a formatted string with commas for given amount.
No description provided by the author
GenerateRandomBytes generates and returns random bytes of specified size n.
No description provided by the author
GenerateRandomString generates and returns a random alphanumeric string with a start_string (with mixed case) of size n.
No description provided by the author
No description provided by the author
GetFirstSurName returns first and last name.
GetInitial returns two letter initials from a word.
GetOnlyAlphaNumSpace removes everything except alpha numeric characters and space it also removes extra spaces, and keeps case intact.
GetOnlyAlphaNumUpper removes everything except alpha numeric characters and turn to upper case.
GetOnlyAlphaSpace removes everything except alpha characters and space it also removes extra spaces, and keeps case intact.
GetStringFromTemplate constructs a string by replacing placeholders using a map and returns it.
GetTimeStampPair returns the current time object as well as YYYY-MM-DD HH:MM:SS.MMMMMM format.
GetTimeStampString returns the current time in YYYY-MM-DD HH:MM:SS.MMMMMM format.
GetUUID generates and returns a new UUID v4 string.
IdentReader is used while xml parsing.
InArrInt is func that checks for val in Array of type of int.
InArrStr is func that checks for val in Array of type of string.
No description provided by the author
IsFreeMail checks whether a given email is from a free service or not.
No description provided by the author
No description provided by the author
IsNumber returns true if all chars in s are digits.
IsStringNumeric returns if string contains only numbers.
KeepOnlyAlphaSpace removes everything except alphabets and space.
LogTimeDifference logs the elapsed time.
No description provided by the author
NewECBEncrypter returns a BlockMode which encrypts in electronic code book mode, using the given Block.
No description provided by the author
No description provided by the author
RemoveAllSpaces removes all spaces from a string.
RemoveCountryCode removes the country code and spaces from input mobile string.
RemoveDuplicatesAndEmpty removes duplicate strings from list.
RemoveEmptyElements removes empty values from list.
RemoveExtraSpaces removes excess spaces from a string.
RemoveNonUTF8Bytes removes bytes that isn't UTF-8 encoded.
RemoveNonUTF8Strings removes strings that isn't UTF-8 encoded.
SQLInjectionValidation return bool if the username if valid, to prevent SQL injection.
StartTime returns current time.
TimeDifference returns elapsed time.
No description provided by the author
ValidateAccountNumber checks for valid account number.
ValidateEmail validates an email.
ValidateGSTIN validates input capitalised string for being a valid GSTIN.
No description provided by the author
No description provided by the author
ValidateNonPersonalPAN validates input capitalised string for being a valid PAN.
ValidatePAN validates input capitalised string for being a valid PAN.
ValidatePersonalPAN validates input capitalised string for being a valid PAN and if its personal.
ValidatePincode validates input string for being a valid pincode.
No description provided by the author
ValidateURL validates input string for being a valid URL.
No description provided by the author
# Variables
No description provided by the author