Glitter Words

Rabu, 02 Mei 2012

MTI Pada ISO

Yang terpenting dari ISO adalah:
- data elements 1 berisi bitmaps
- bit 3 berisi processing code
- bit 4 berisi amount transaction
- bit 11, stan (system trace audit number)
- bit 18 merchant type
- bit 35: track 2 data
- bit 39: response code, cuma ada di response
- bit 41: terminal ID 

Rabu, 04 Januari 2012

Messaging Bank With ISO 8583

 

Message Type Identifier

Each message that is sent must have the id to distinguish the type transactions.
Table 1 Message Type  Identifier
MTI
Functions
2100
Request Of Inquiry
2110
Response Of Inquiry
2200
Request Of Payment
2210
Response  Of Payment
2400
Reversal Request
2401
Repeat Reversal
2410
Reversal Response
2800
Network Management Request
0810
Network Management Response

 

Bit Map

All messages are variable length, with a bit-map scheme used to indicate the presence or absence of additional fields in the message. Each bit-map is a 64-bit string contained within an 8-byte field. The first bit in each bit-map is set to „1‟ or „0‟ to indicate the presence („1‟) or absence („0‟) of an additional 64-bit bit-map field, which immediately follows the preceding bit-map field.
A maximum of 2 bit-maps are used in message formats: a „Primary‟ and a „Secondary‟ bit-map. Bits sets to „1‟ or „0‟ in the Primary bit-map indicate the presence or absence of Data Element 1 through Data Element. 64. Bits sets to „1‟ or „0‟ in the Secondary bit-map indicate the presence or absence of Data Element 65 through Data Element 128. (Note: all bit positions are interpreted from left to right within each bit map; i.e., within the Primary bit-map the left-most bit is “Bit 1”, and the rightmost bit is “Bit 64.”)

Data Element


Table 2 Abbreviation Meaning
No.
Abbreviation
Meaning
1.        
a
Alpha, including blanks
2.        
n
Numeric  values only
3.        
s
Special character only
4.        
an
Alphanumeric
5.        
as
Alpha and Special character only
6.        
ns
Numeric  and Special character only
7.        
ans
Alphabetic, Numeric and Special character
8.        
b
Binary data
9.        
z
Tracks 2 and 3 code set as defined  in ISO/IEC  7813 and 4909
10.    
.or..or…or
Variable field length indicator, each. Indicating a digit.
11.    
x or xx or xxx
Fix length of field or maximum length in the case of variable leng fields.

Table 3 Type Meaning
No.
Type
Meaning
1.        
Fixed
No field length used
2.        
LLVAR or (..xx)
Where LL < 100, means two leading digits LL specify the field length of field VAR
3.        
LLLVAR or (…xxx)
Where LL < 1000, means two leading digits LLL specify the field length of field VAR



No.
Key
Type
Value
4.        
MT
VarChar (4)
Message Type
5.        
MC
Varchar (7)
Module Code
6.        
PC
String
Processing Code
7.        
CC
String
Channel Code
8.        
DT
VarChar (14)
Transaction Date Time
9.        
RC
VarChar (4)
Response Code
10.    
MP
JSON Object
Module Parameter

Selasa, 03 Januari 2012

hilarious

Hey Guys.
You know, today I read my friend's blog. I guess that is a good blog (^.^). Why did I say that? It because his blog showed many life experience of him and He use(d) English as his language. He told about his self, family, friends, and the most is his job. He has so many experience of work. The point is I want have a blog that tells about my experience too and I write it uses English. Although my English isn't well but I'll try to practice it through my blog first, after that I'll use that in My real world. :)

Kamis, 10 November 2011

Use Case Diagram

Untuk membuat suatu program maka kita harus melalui tahap perancangan. Salah satu yang harus dibuat dalam perancangan adalah diagram. Jika kita membuat program berbasis objek maka dibutuhkannya UML (Unified Modeling Language) yakni bahasa standar yang digunakan dalam merepresentasikan sebuah program. Salah satu contoh UML adalah usecase diagram. Usecase diagram adalah sebuah diagram yang berfungsi untuk menjelaskan apa saja fungsi-fungsi pada sistem yang dapat digunakan oleh user. Namun demikian, jika kita akan membuat program yang berbasis struktural maka yang digunakan adalah ERD (Entity Relational Diagram) dan DFD (Data Flow Diagram).

Langsung saja kita masuk kedalam pokok bahasan.

Isi usecase :

1. Aktor

2. Usecase



3. Komunikasi

4. Include

5. Extend
6. Generalisasi atau spesialisasi
Untuk lebih lengkapnya, besok akan saya lanjutkan. Mau pulang kerja dl. :)

Sabtu, 01 Oktober 2011

Hi Everyone. I'd like to post my experience to you all..
This is about "How to make a HTTPS on website"

Let's check It Out.. :)

HTTPS = Hyper Text Transport Protocol Secure

First : You must to configure web server (apache2)

1. To view debian package of open SSL
root@ajeng-laptop:/home/ajeng# dpkg -l | grep openssl
ii  openssl 0.9.8k-7ubuntu8.6                               Secure Socket Layer (SSL) binary and related
ii  python-openssl                       0.10-1                                          Python wrapper around the OpenSSL library

2. Make a certificate of SSL using open SSL
root@ajeng-laptop:/home/ajeng# mkdir /etc/ssl/CA
root@ajeng-laptop:/home/ajeng# cd /etc/ssl/CA
root@ajeng-laptop:/etc/ssl/CA# openssl genrsa -des3 -out server.key 1024
Generating RSA private key, 1024 bit long modulus
..................++++++
...............++++++
e is 65537 (0x10001)
Enter pass phrase for server.key:
Verifying - Enter pass phrase for server.key:
root@ajeng-laptop:/etc/ssl/CA# openssl rsa -in server.key -out server.key
Enter pass phrase for server.key:
writing RSA key
root@ajeng-laptop:/etc/ssl/CA# openssl req -new -days 3650 -key server.key -out server.csr
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:id
State or Province Name (full name) [Some-State]:west java
Locality Name (eg, city) []:bandung
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Kharima Jaya
Organizational Unit Name (eg, section) []:Kharima Jaya
Common Name (eg, YOUR name) []:Ajeng
Email Address []:jengaah.chubby@gmail.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []: 
root@ajeng-laptop:/etc/ssl/CA# openssl x509 -in server.csr -out server.crt -req -signkey server.key -days 3650
Signature ok
subject=/C=id/ST=west java/L=bandung/O=Kharima Jaya/OU=Kharima Jaya/CN=Ajeng/emailAddress=jengaah.chubby@gmail.com
Getting Private key
root@ajeng-laptop:/etc/ssl/CA# chmod 400 server.*
root@ajeng-laptop:/etc/ssl/CA# nano /etc/apache2/sites-available/default
default      default-ssl 
root@ajeng-laptop:/etc/ssl/CA# nano /etc/apache2/sites-available/default-ssl
root@ajeng-laptop:/etc/ssl/CA# nano /etc/apache2/sites-available/default-ssl
root@ajeng-laptop:/etc/ssl/CA# vi /etc/apache2/sites-available/default-ssl
root@ajeng-laptop:/etc/ssl/CA# gedit /etc/apache2/sites-available/default-ssl
root@ajeng-laptop:/etc/ssl/CA# ls
server.crt  server.csr  server.key
root@ajeng-laptop:/etc/ssl/CA# gedit /etc/apache2/sites-available/default-ssl
root@ajeng-laptop:/etc/ssl/CA# ls /etc/apache2/sites-available/
default  default-ssl
root@ajeng-laptop:/etc/ssl/CA# ls /etc/apache2/sites-enabled/
root@ajeng-laptop:/etc/ssl/CA# a2ensite default-ssl
Enabling site default-ssl.
Run '/etc/init.d/apache2 reload' to activate new configuration!
root@ajeng-laptop:/etc/ssl/CA# /etc/init.d/apache2 reload
 * Reloading web server config apache2                                          apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName[ OK ]                                               


Second :  You must install this software to support your web application. Install this software at 'user root'
1. phpMyAdmin

root@ajeng-laptop: sudo apt-get install phpmyadmin

2. php5

root@ajeng-laptop: sudo apt-get install php5 libapache2-mod-php5
(active your php and apache)
 
3. MySQL server

root@ajeng-laptop: sudo apt-get install mysql-server
root@ajeng-laptop: gksudogedit/etc/mysql/my.cnf
bind-address = 127.0.0.1 (Input your IP Address)

root@ajeng-laptop: mysql -u root –p (ask for password)
root@ajeng-laptop:

(active your php and apache)
root@ajeng-laptop: sudo /etc/init.d/apache2 restart

please TRY IT... :)