Coder Social home page Coder Social logo

mehrankmlf / securepacketenvelope Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 0.0 573 KB

Hybrid Encryption RSA + AES in Swift

License: MIT License

Swift 100.00%
aes-256 aes-encryption appsecurity cryptography ios-security rsa-cryptography rsa-encryption security security-tools

securepacketenvelope's Introduction

Hi there ๐Ÿ‘‹ I'm Mehran!

With over five years of experience in iOS development, I am a seasoned iOS Engineer in the online industry, contributing to the creation of high-quality applications. My expertise lies in utilizing Swift, SwiftUI, and Combine, alongside various other technologies and frameworks, to enhance user experiences and app performance.

My passion lies in crafting user-friendly, secure, and efficient applications that cater to the needs of enterprise users. I possess a robust foundation in object-oriented programming, as well as proficiency in scrum and agile methodologies. Additionally, I hold multiple certifications in mobile app security and iOS development.

โ€‚

Mehrans's github stats

๐Ÿ“ซ ย My Contacts

LinkedIn Instagram

securepacketenvelope's People

Contributors

mehrankmlf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

securepacketenvelope's Issues

Question about weak self

Hello, recently i found your repo, it is so awesome. i just have a question about using weak self in code
` private func bindViewModel() {
viewModel?.fullNameMessagePublisher
.receive(on: RunLoop.main)
.sink { [weak self] text in

            guard let `self` = self, let textField = self.contentView?.txtFullName else {
                return
            }
            
            if text != "" {
                self.contentView?.txtFullName.addRightView(txtField:  textField, str: "")
            } else {
                self.contentView?.txtFullName.addRightView(txtField:  textField, str: "๐Ÿ‘๐Ÿป")
            }
        }.store(in: &cancellables)
    
    viewModel?.formValidation
        .map { $0 != nil}
        .receive(on: RunLoop.main)
        .sink(receiveValue: { (isEnable) in
            if isEnable {
                self.contentView?.btnEncrypt.isEnabled = true
                return
            } else {
                self.contentView?.btnEncrypt.isEnabled = false
            }
            self.contentView?.btnEncrypt.isEnabled = false
        })
        .store(in: &cancellables)
}`

Why do u use weak self in the first sink but not in the second sink?
I am a new man about this, so i hope to get some guide. Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.