Dojo interview question

describe me algorithm you would use for secure code?